diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-09 08:29:38 -0300 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 12:00:26 +0900 |
commit | eb7584dc042b7a82733d577ad5d9245e2a0fcf5a (patch) | |
tree | 06146a6d38a2a17bb15e930b0438f2494014e1da /drivers | |
parent | a547121ba44401c6e3e9a0f65936b99a32574553 (diff) | |
download | linux-3.10-eb7584dc042b7a82733d577ad5d9245e2a0fcf5a.tar.gz linux-3.10-eb7584dc042b7a82733d577ad5d9245e2a0fcf5a.tar.bz2 linux-3.10-eb7584dc042b7a82733d577ad5d9245e2a0fcf5a.zip |
au0828: be sure to reenable the bridge and GPIOs on resume
At resume, we should restore the register contents. So,
reenable the bridge and GPIO settings.
Change-Id: Ie4476799c75eac1e729c50b829c62a1f28eaff8a
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/usb/au0828/au0828-core.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/usb/au0828/au0828-core.c b/drivers/media/usb/au0828/au0828-core.c index 3a02de142f9..87340a8af7d 100644 --- a/drivers/media/usb/au0828/au0828-core.c +++ b/drivers/media/usb/au0828/au0828-core.c @@ -302,6 +302,12 @@ static int au0828_resume(struct usb_interface *interface) if (!dev) return 0; + /* Power Up the bridge */ + au0828_write(dev, REG_600, 1 << 4); + + /* Bring up the GPIO's and supporting devices */ + au0828_gpio_setup(dev); + au0828_rc_resume(dev); /* FIXME: should resume also ATV/DTV */ |