Em Sun, 28 Sep 2014 13:54:05 +0200 Johannes Stezenbach <js@xxxxxxxxxxx> escreveu: > On Sun, Sep 28, 2014 at 08:12:11AM -0300, Mauro Carvalho Chehab wrote: > > Em Sun, 28 Sep 2014 12:55:40 +0200 > > Johannes Stezenbach <js@xxxxxxxxxxx> escreveu: > > > > > I tried again both with and without the patch. The issue above > > > odesn't reproduce, but after hibernate it fails to tune > > > (while it works after suspend-to-ram). Restarting dvbv5-zap > > > does not fix it. All I get is: > > > > > > [ 500.299216] drxk: Error -22 on dvbt_sc_command > > > [ 500.301012] drxk: Error -22 on set_dvbt > > > [ 500.301967] drxk: Error -22 on start I suspect that this is probably because em28xx didn't initialize the GPIOs after power down. Please try the enclosed (untested) hack. Regards, Mauro diff --git a/drivers/media/usb/em28xx/em28xx-dvb.c b/drivers/media/usb/em28xx/em28xx-dvb.c index 9682c52d67d1..3403e775bf43 100644 --- a/drivers/media/usb/em28xx/em28xx-dvb.c +++ b/drivers/media/usb/em28xx/em28xx-dvb.c @@ -1745,6 +1745,10 @@ static int em28xx_dvb_resume(struct em28xx *dev) if (!dev->board.has_dvb) return 0; + +/* HACK */ +hauppauge_hvr930c_init(dev); + em28xx_info("Resuming DVB extension"); if (dev->dvb) { struct em28xx_dvb *dvb = dev->dvb; -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html