mfd: tc6393xb: Fail ohci suspend if full state restore is required
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Fri, 24 Oct 2014 17:19:57 +0000 (21:19 +0400)
committerLee Jones <lee.jones@linaro.org>
Tue, 25 Nov 2014 16:18:52 +0000 (16:18 +0000)
commit1a5fb99de4850cba710d91becfa2c65653048589
tree2c58155932011052cd0526466b74f0a1d5512c9c
parentbde3e706a63d5c258b3e4f5e327bcf032fb1adfe
mfd: tc6393xb: Fail ohci suspend if full state restore is required

Some boards with TC6393XB chip require full state restore during system
resume thanks to chip's VCC being cut off during suspend (Sharp SL-6000
tosa is one of them). Failing to do so would result in ohci Oops on
resume due to internal memory contentes being changed. Fail ohci suspend
on tc6393xb is full state restore is required.

Recommended workaround is to unbind tmio-ohci driver before suspend and
rebind it after resume.

Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/tc6393xb.c