[PATCH 0/3] Another series of PM fixes for au0828

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
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




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux