Commit fa500461 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] 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.

Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent aaeac199
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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 */