linux_dsm_epyc7002/drivers/media/radio
Hans Verkuil 6fd522a6d1 [media] radio-si470x-usb: remove autosuspend, implement suspend/resume
The radio-si470x-usb driver supported both autosuspend and it stopped the
radio the moment the last user of the radio device closed it. However, that
was very confusing since if you play the audio from the device (e.g. through
arecord -D ... | aplay) then no sound would play unless you had the radio
device open at the same time, even though there is no need to do anything
with that node.

On the other hand, the actual suspend/resume functions didn't do anything,
which would fail if you *did* have the radio node open at that time.

So:

- remove autosuspend (bad idea in general for USB radio devices)
- move the start/stop out of the open/release functions into the resume/suspend
  functions.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Tobias Lorenz <tobias.lorenz@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-05-14 13:45:44 -03:00
..
si470x [media] radio-si470x-usb: remove autosuspend, implement suspend/resume 2012-05-14 13:45:44 -03:00
wl128x [media] v4l2-dev: add flag to have the core lock all file operations 2012-05-14 09:19:38 -03:00
dsbr100.c [media] dsbr100: clean up and update to the latest v4l2 framework 2012-05-04 15:01:14 -03:00
Kconfig [media] radio-maxiradio: use the tea575x framework 2012-03-19 11:29:09 -03:00
Makefile [media] radio-isa: add framework for ISA radio drivers 2012-02-14 17:01:13 -02:00
radio-aimslab.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
radio-aztech.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
radio-cadet.c [media] radio: Use the subsystem version control for VIDIOC_QUERYCAP 2011-07-27 17:53:16 -03:00
radio-gemtek.c [media] radio-gemtek: add PnP support for AOpen FX-3D/Pro Radio 2012-04-10 19:53:19 -03:00
radio-isa.c [media] media/radio: use v4l2_ctrl_subscribe_event where possible 2012-05-07 16:26:32 -03:00
radio-isa.h [media] radio-isa: PnP support for the new ISA radio framework 2012-04-10 19:52:16 -03:00
radio-keene.c [media] media/radio: use v4l2_ctrl_subscribe_event where possible 2012-05-07 16:26:32 -03:00
radio-maxiradio.c [media] radio-maxiradio: use the tea575x framework 2012-03-19 11:29:09 -03:00
radio-miropcm20.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
radio-mr800.c [media] radio-mr800: add hardware seek support 2012-05-07 15:29:40 -03:00
radio-rtrack2.c [media] radio-rtrack2: add missing slab.h 2012-03-30 16:41:29 -03:00
radio-sf16fmi.c [media] radio: Use the subsystem version control for VIDIOC_QUERYCAP 2011-07-27 17:53:16 -03:00
radio-sf16fmr2.c [media] radio-sf16fmr2: fix session mismatches 2012-03-19 13:32:37 -03:00
radio-si4713.c [media] convert drivers/media/* to use module_platform_driver() 2012-01-10 23:27:13 -02:00
radio-tea5764.c [media] convert drivers/media/* to use module_i2c_driver() 2012-03-08 08:48:01 -03:00
radio-terratec.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
radio-timb.c [media] convert drivers/media/* to use module_platform_driver() 2012-01-10 23:27:13 -02:00
radio-trust.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
radio-typhoon.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
radio-wl1273.c [media] convert drivers/media/* to use module_platform_driver() 2012-01-10 23:27:13 -02:00
radio-zoltrix.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
saa7706h.c [media] convert drivers/media/* to use module_i2c_driver() 2012-03-08 08:48:01 -03:00
si4713-i2c.c [media] convert drivers/media/* to use module_i2c_driver() 2012-03-08 08:48:01 -03:00
si4713-i2c.h [media] radio-si4713: Add regulator framework support 2010-12-29 08:16:35 -02:00
tef6862.c [media] convert drivers/media/* to use module_i2c_driver() 2012-03-08 08:48:01 -03:00