mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
Input: usb1400_ts - fix access to "device data" in resume function
platform_data != driver_data
driver data is actually the "correct" place of the struct however it is
not placed there due to the need of the ac97 struct. This is broken since
d9105c2b01
aka "[ARM] 5184/1: Split ucb1400_ts into core and touchscreen"
Signed-off-by: Manuel Traut <manut@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
f9fcfc3b46
commit
346a850e3c
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ static int ucb1400_ts_remove(struct platform_device *dev)
|
|||
#ifdef CONFIG_PM
|
||||
static int ucb1400_ts_resume(struct platform_device *dev)
|
||||
{
|
||||
struct ucb1400_ts *ucb = platform_get_drvdata(dev);
|
||||
struct ucb1400_ts *ucb = dev->dev.platform_data;
|
||||
|
||||
if (ucb->ts_task) {
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue