Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH 0/3] Another series of PM fixes for au0828
@ 2014-08-10  2:14 Mauro Carvalho Chehab
  2014-08-10  2:14 ` [PATCH 1/3] au0828: fix checks if dvb is initialized Mauro Carvalho Chehab
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Mauro Carvalho Chehab @ 2014-08-10  2:14 UTC (permalink / raw)
  Cc: Mauro Carvalho Chehab, Linux Media Mailing List,
	Mauro Carvalho Chehab

There are still a few bugs that can happen when suspending and
a video stream is active. This patch series fix them. After
that, resume works fine, even it suspend happened while
streaming.

There is one remaining issue though: xc5000 firmware doesn't
load after resume.

What happens (on both analog and digital) is:

[  143.071323] xc5000: xc5000_suspend()
[  143.071324] xc5000: xc5000_tuner_reset()
[  143.099992] au0828: Suspend
[  143.099992] au0828: Stopping RC
[  143.101694] au0828: stopping V4L2
[  143.101695] au0828: stopping V4L2 active URBs
[  144.988637] au0828: Resume
[  145.342026] au0828: Restarting RC
[  145.343296] au0828: restarting V4L2
[  145.464413] xc5000: xc5000_is_firmware_loaded() returns True id = 0xffff
[  145.464414] xc5000: xc_set_signal_source(1) Source = CABLE
[  146.370861] xc5000: xc_set_signal_source(1) failed

I suspect that it has to do with a wrong value for the I2C
gateway. The proper fix is likely to convert au0828 to use
the I2C mux support, and remove the old i2c_gate_ctrl
approach. However, such patch would require more work, to
avoid breaking other drivers.

Mauro Carvalho Chehab (3):
  au0828: fix checks if dvb is initialized
  au0828: Fix DVB resume when streaming
  xc5000: be sure that the firmware is there before set params

 drivers/media/tuners/xc5000.c         | 10 +++++-----
 drivers/media/usb/au0828/au0828-dvb.c | 24 ++++++++++++++----------
 drivers/media/usb/au0828/au0828.h     |  4 ++--
 3 files changed, 21 insertions(+), 17 deletions(-)

-- 
1.9.3


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-08-10 18:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-10  2:14 [PATCH 0/3] Another series of PM fixes for au0828 Mauro Carvalho Chehab
2014-08-10  2:14 ` [PATCH 1/3] au0828: fix checks if dvb is initialized Mauro Carvalho Chehab
2014-08-10  2:14 ` [PATCH 2/3] au0828: Fix DVB resume when streaming Mauro Carvalho Chehab
2014-08-10  2:14 ` [PATCH 3/3] xc5000: be sure that the firmware is there before set params Mauro Carvalho Chehab
2014-08-10 15:16 ` [PATCH 0/3] Another series of PM fixes for au0828 Hans Verkuil
2014-08-10 17:05   ` Mauro Carvalho Chehab
2014-08-10 17:30     ` Hans Verkuil
2014-08-10 18:09       ` Mauro Carvalho Chehab
2014-08-10 18:23         ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox