summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorYuan Can <yuancan@huawei.com>2024-11-07 21:52:23 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-05 14:03:02 +0100
commit76b9f8cbb1a33d45546677f031eeef2e71c3c6c2 (patch)
tree42eadf48609fff958b686ad3683606d517afc7b0 /lib/debugobjects.c
parent928de5fcd462498b8334107035da8ab85e316d8a (diff)
downloadlinux-76b9f8cbb1a33d45546677f031eeef2e71c3c6c2.tar.gz
linux-76b9f8cbb1a33d45546677f031eeef2e71c3c6c2.tar.bz2
linux-76b9f8cbb1a33d45546677f031eeef2e71c3c6c2.zip
Input: cs40l50 - fix wrong usage of INIT_WORK()
commit 5c822c0ce5cc83ed4cd8394f3dc46dae8d9a681d upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions