[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231122114434.GI173820@google.com>
Date: Wed, 22 Nov 2023 11:44:34 +0000
From: Lee Jones <lee@...nel.org>
To: Takashi Iwai <tiwai@...e.de>
Cc: Pavel Machek <pavel@....cz>,
Jean-Jacques Hiblot <jjhiblot@...phandler.com>,
linux-kernel@...r.kernel.org, linux-leds@...r.kernel.org,
Johannes Penßel <johannes.penssel@...il.com>,
Jeremy Soller <jeremy@...tem76.com>,
Hans de Goede <hdegoede@...hat.com>,
Bagas Sanjaya <bagasdotme@...il.com>
Subject: Re: [PATCH] Revert "leds: class: Store the color index in struct
led_classdev"
On Tue, 21 Nov 2023, Takashi Iwai wrote:
> On Tue, 21 Nov 2023 16:10:12 +0100,
> Lee Jones wrote:
> >
> > On Tue, 21 Nov 2023 15:26:29 +0100, Takashi Iwai wrote:
> > > This reverts commit c7d80059b086c4986cd994a1973ec7a5d75f8eea.
> > >
> > > The commit caused regressions to a few drivers (such as Logitech
> > > keyboard or System76 ACPI) that already had "color" leds sysfs entry;
> > > now they conflict with the commonly created sysfs of led class.
> > >
> > > For addressing the regression, we revert the commit, so that the
> > > conflicting "color" sysfs entry is removed.
> > >
> > > [...]
> >
> > Applied, thanks!
> >
> > [1/1] Revert "leds: class: Store the color index in struct led_classdev"
> > commit: 17e1ad377bb1d39260e0594ee284d8e03f64fdfb
>
> It turned out that drivers/leds/rgb/leds-group-multicolor.c
> initializes the cdev->color, and this revert breaks it.
Indeed:
linux/leds-fixes/drivers/leds/rgb/leds-group-multicolor.c: In function ‘leds_gmc_probe’:
linux/leds-fixes/drivers/leds/rgb/leds-group-multicolor.c:109:49: error: ‘struct led_classdev’ has no member named ‘color’
linux/leds-fixes/drivers/leds/rgb/leds-group-multicolor.c:120:13: error: ‘struct led_classdev’ has no member named ‘color’
> So please scratch my previous revert patch.
> I'm going to submit a partial revert instead.
Sure.
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists