linux-kernel-test/drivers/media/usb/au0828
Hans Verkuil ea86968fb9 [media] au0828: improve firmware loading & locking
- open/close/read and poll need to take the core lock as well.
- when the tuner goes to sleep we should set std_set_in_tuner_core
  to 0 since the tuner loses the firmware at that time.
- initialize the tuner if std_set_in_tuner_core == 0 whenever:
  1) g/s_tuner, s_std or s_frequency is called
  2) read or poll is called
  3) streamon is called

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-03-25 15:10:37 -03:00
..
au0828-cards.c [media] au0828: Replace memcpy with struct assignment 2012-12-27 18:49:44 -02:00
au0828-cards.h
au0828-core.c [media] au0828: fix disconnect sequence 2013-03-25 15:10:30 -03:00
au0828-dvb.c [media] au0828-dvb: ret is never tested. Get rid of it 2012-10-28 07:39:02 -02:00
au0828-i2c.c [media] au0828: Replace memcpy with struct assignment 2012-12-27 18:49:44 -02:00
au0828-reg.h
au0828-vbi.c
au0828-video.c [media] au0828: improve firmware loading & locking 2013-03-25 15:10:37 -03:00
au0828.h [media] au0828: replace deprecated current_norm by g_std 2013-03-25 15:10:27 -03:00
Kconfig [media] au0828: remove forced dependency of VIDEO_AU0828 on VIDEO_V4L2 2012-12-17 14:31:26 -02:00
Makefile [media] au0828: remove forced dependency of VIDEO_AU0828 on VIDEO_V4L2 2012-12-17 14:31:26 -02:00