aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/em28xx/em28xx-dvb.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-31 06:48:26 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-31 06:53:45 -0400
commit5eef22031295234990a26d809efb4100c1e60c11 (patch)
tree1719f0ab4c25b0405ccab939f0253fae03189bfc /drivers/media/usb/em28xx/em28xx-dvb.c
parent3ec40dcfb413214b2874aec858870502b61c2202 (diff)
Revert "[media] em28xx-dvb: fix PCTV 461e tuner I2C binding"
The first hunk of this patch got merged wrong, likely due to some changes at the em28xx resume code. Revert it to reapply it right. This reverts commit 37571b163c15831cd0a213151c21387363dbf15b. Reported-by: Chris Lee <updatelee@gmail.com> Reported-by: Hans Verkuil <hverkuil@xs4all.nl> Cc: stable@vger.kernel.org # Don't apply this patch or 37571b163c15 Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/em28xx/em28xx-dvb.c')
-rw-r--r--drivers/media/usb/em28xx/em28xx-dvb.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-dvb.c b/drivers/media/usb/em28xx/em28xx-dvb.c
index 71e1fcac0500..9b3f033e1f09 100644
--- a/drivers/media/usb/em28xx/em28xx-dvb.c
+++ b/drivers/media/usb/em28xx/em28xx-dvb.c
@@ -1603,7 +1603,6 @@ static int em28xx_dvb_suspend(struct em28xx *dev)
1603 em28xx_info("Suspending DVB extension"); 1603 em28xx_info("Suspending DVB extension");
1604 if (dev->dvb) { 1604 if (dev->dvb) {
1605 struct em28xx_dvb *dvb = dev->dvb; 1605 struct em28xx_dvb *dvb = dev->dvb;
1606 struct i2c_client *client = dvb->i2c_client_tuner;
1607 1606
1608 if (dvb->fe[0]) { 1607 if (dvb->fe[0]) {
1609 ret = dvb_frontend_suspend(dvb->fe[0]); 1608 ret = dvb_frontend_suspend(dvb->fe[0]);
@@ -1641,15 +1640,6 @@ static int em28xx_dvb_resume(struct em28xx *dev)
1641 ret = dvb_frontend_resume(dvb->fe[1]); 1640 ret = dvb_frontend_resume(dvb->fe[1]);
1642 em28xx_info("fe1 resume %d", ret); 1641 em28xx_info("fe1 resume %d", ret);
1643 } 1642 }
1644 /* remove I2C tuner */
1645 if (client) {
1646 module_put(client->dev.driver->owner);
1647 i2c_unregister_device(client);
1648 }
1649
1650 em28xx_unregister_dvb(dvb);
1651 kfree(dvb);
1652 dev->dvb = NULL;
1653 } 1643 }
1654 1644
1655 return 0; 1645 return 0;