Re: [PATCH] Input: cs40l50 - Fix wrong usage of INIT_WORK()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 06, 2024 at 09:35:49AM +0800, Yuan Can wrote:
> In cs40l50_add(), the work_data is a local variable and the work_data.work
> should initialize with INIT_WORK_ONSTACK() instead of INIT_WORK().
> Small error in cs40l50_erase() also fixed in this commit.
> 
> Fixes: c38fe1bb5d21 ("Input: cs40l50 - Add support for the CS40L50 haptic driver")
> Signed-off-by: Yuan Can <yuancan@xxxxxxxxxx>

Applied, thank you.

-- 
Dmitry




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux