projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2f6985
)
ti-st: Fix check for pdata->chip_awake function pointer
author
Matthias Kaehlcke
<matthias@kaehlcke.net>
Thu, 2 Aug 2012 20:17:48 +0000
(22:17 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 16 Aug 2012 19:32:34 +0000
(12:32 -0700)
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>
drivers/misc/ti-st/st_ll.c
patch
|
blob
|
history
diff --git
a/drivers/misc/ti-st/st_ll.c
b/drivers/misc/ti-st/st_ll.c
index
1ff460a
..
93b4d67
100644
(file)
--- a/
drivers/misc/ti-st/st_ll.c
+++ b/
drivers/misc/ti-st/st_ll.c
@@
-87,7
+87,7
@@
static void ll_device_want_to_wakeup(struct st_data_s *st_data)
/* communicate to platform about chip wakeup */
kim_data = st_data->kim_data;
pdata = kim_data->kim_pdev->dev.platform_data;
- if (pdata->chip_a
sleep
)
+ if (pdata->chip_a
wake
)
pdata->chip_awake(NULL);
}