[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230613103845.GC169438@aspen.lan>
Date: Tue, 13 Jun 2023 11:38:45 +0100
From: Daniel Thompson <daniel.thompson@...aro.org>
To: Thomas Zimmermann <tzimmermann@...e.de>
Cc: daniel@...ll.ch, javierm@...hat.com, sam@...nborg.org,
deller@....de, geert+renesas@...der.be, lee@...nel.org,
jingoohan1@...il.com, dan.carpenter@...aro.org,
michael.j.ruhl@...el.com, linux-fbdev@...r.kernel.org,
dri-devel@...ts.freedesktop.org, linux-sh@...r.kernel.org,
linux-omap@...r.kernel.org, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Laurent Pinchart <laurent.pinchart+renesas@...asonboard.com>,
Rich Felker <dalias@...c.org>,
John Paul Adrian Glaubitz <glaubitz@...sik.fu-berlin.de>,
stable@...r.kernel.org
Subject: Re: [PATCH v2 03/38] backlight/gpio_backlight: Compare against
struct fb_info.device
On Mon, Jun 12, 2023 at 04:07:41PM +0200, Thomas Zimmermann wrote:
> Struct gpio_backlight_platform_data refers to a platform device within
> the Linux device hierarchy. The test in gpio_backlight_check_fb()
> compares it against the fbdev device in struct fb_info.dev, which
> is different. Fix the test by comparing to struct fb_info.device.
>
> Fixes a bug in the backlight driver and prepares fbdev for making
> struct fb_info.dev optional.
>
> v2:
> * move renames into separate patch (Javier, Sam, Michael)
>
> Signed-off-by: Thomas Zimmermann <tzimmermann@...e.de>
> Fixes: 8b770e3c9824 ("backlight: Add GPIO-based backlight driver")
> Cc: Laurent Pinchart <laurent.pinchart+renesas@...asonboard.com>
> Cc: Rich Felker <dalias@...c.org>
> Cc: John Paul Adrian Glaubitz <glaubitz@...sik.fu-berlin.de>
> Cc: Lee Jones <lee@...nel.org>
> Cc: Daniel Thompson <daniel.thompson@...aro.org>
> Cc: Jingoo Han <jingoohan1@...il.com>
> Cc: linux-sh@...r.kernel.org
> Cc: dri-devel@...ts.freedesktop.org
> Cc: <stable@...r.kernel.org> # v3.12+
Reviewed-by: Daniel Thompson <daniel.thompson@...aro.org>
Daniel.
Powered by blists - more mailing lists