Skip to content

Commit f3d9d36

Browse files
mkaehlckegregkh
authored andcommitted
ti-st: Fix check for pdata->chip_awake function pointer
ll_device_want_to_wakeup(): Fix the NULL pointer check on pdata->chip_awake, which is performed on the wrong function pointer Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent a2f6985 commit f3d9d36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/misc/ti-st/st_ll.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static void ll_device_want_to_wakeup(struct st_data_s *st_data)
8787
/* communicate to platform about chip wakeup */
8888
kim_data = st_data->kim_data;
8989
pdata = kim_data->kim_pdev->dev.platform_data;
90-
if (pdata->chip_asleep)
90+
if (pdata->chip_awake)
9191
pdata->chip_awake(NULL);
9292
}
9393

0 commit comments

Comments
 (0)