Re: [PATCH v1 2/6] platform/chrome: chromeos_tbmc: Drop wakeup source on remove

From: Rafael J. Wysocki

Date: Thu Mar 05 2026 - 10:32:31 EST


On Thu, Mar 5, 2026 at 4:29 PM Tzung-Bi Shih <tzungbi@xxxxxxxxxx> wrote:
>
> On Wed, Mar 04, 2026 at 07:43:05PM +0100, Rafael J. Wysocki wrote:
> > From: "Rafael J. Wysocki" <rafael.j.wysocki@xxxxxxxxx>
> >
> > The wakeup source added by device_init_wakeup() in chromeos_tbmc_add()
> > needs to be dropped during driver removal, so add a .remove() callback
> > to the driver for this purpose.
> >
> > Fixes: 0144c00ed86b (platform/chrome: chromeos_tbmc: Report wake events)
> ^ ^
> " "
> No need to resend just for these. I'll fix it as well when applying the
> patch.

Thanks!