Revision 6ada5c1e1b077ab98fc144d7ac132b4dcc0148ec authored by Charles Keepax on 16 April 2015, 12:05:19 UTC, committed by Wolfram Sang on 23 April 2015, 17:35:31 UTC
Commit 523c5b89640e ("i2c: Remove support for legacy PM") removed the PM
ops from the bus type, which causes the pm operations on the s3c2410
adapter device to fail (-ENOSUPP in rpm_callback). The adapter device
doesn't get bound to a driver and as such can't have its own pm_runtime
callbacks. Previously this was fine as the bus callbacks would have been
used, but now this can cause devices which use PM runtime and are
attached over I2C to fail to resume.

This commit fixes this issue by marking all adapter devices with
pm_runtime_no_callbacks, since they can't have any.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Beata Michalska <b.michalska@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Fixes: 523c5b89640e
Cc: stable@kernel.org
1 parent 9ef8a0b
History
File Mode Size
ciscode.h -rw-r--r-- 3.3 KB
cisreg.h -rw-r--r-- 2.7 KB
cistpl.h -rw-r--r-- 14.3 KB
device_id.h -rw-r--r-- 9.4 KB
ds.h -rw-r--r-- 7.9 KB
ss.h -rw-r--r-- 7.0 KB

back to top