summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorYuan Can <yuancan@huawei.com>2024-11-07 21:52:23 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-11-07 21:54:44 -0800
commit5c822c0ce5cc83ed4cd8394f3dc46dae8d9a681d (patch)
tree1e035c07aaf6878791f04a5dbf0e74fbfc3db1c7 /sound
parent071b24b54d2d05fbf39ddbb27dee08abd1d713f3 (diff)
Input: cs40l50 - fix wrong usage of INIT_WORK()
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@huawei.com> Reviewed-by: James Ogletree <jogletre@opensource.cirrus.com> Link: https://lore.kernel.org/r/20241106013549.78142-1-yuancan@huawei.com Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions