linux_dsm_epyc7002/drivers/media/usb
Hans Verkuil 3445857b22 [media] hdpvr: fix two audio bugs
When the audio encoding is changed the driver calls hdpvr_set_audio
with the current opt->audio_input value. However, that should have
been opt->audio_input + 1. So changing the audio encoding inadvertently
changes the input as well. This bug has always been there.

The second bug was introduced in kernel 3.10 and that broke the
default_audio_input module option handling: the audio encoding was
never switched to AC3 if default_audio_input was set to 2 (SPDIF input).

In addition, since starting with 3.10 the audio encoding is always set
at the start the first bug now always happens when the driver is loaded.
In the past this bug would only surface if the user would change the
audio encoding after the driver was loaded.

Also fixes a small trivial typo (bufffer -> buffer).

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reported-by: Scott Doty <scott@corp.sonic.net>
Cc: stable@vger.kernel.org      # for v3.10 and up
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-07-04 15:13:02 -03:00
..
au0828 [media] au0828-dvb: restore its permission to 644 2014-06-04 15:19:36 -03:00
b2c2 [media] drivers: media: usb: b2c2: use usb_*_coherent() instead of pci_*_consistent() in flexcop-usb.c 2013-10-17 11:26:41 -03:00
cpia2 [media] media: Change variable type to bool 2013-10-17 11:24:35 -03:00
cx231xx [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
dvb-usb [media] dib0700: fix RC support on Hauppauge Nova-TD 2014-05-25 17:44:19 -03:00
dvb-usb-v2 [media] af9035: override tuner id when bad value set into eeprom 2014-07-04 15:06:43 -03:00
em28xx [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
gspca [media] media:gspca:dtcs033 Clean sparse check warnings on endianess 2014-04-23 10:07:52 -03:00
hdpvr [media] hdpvr: fix two audio bugs 2014-07-04 15:13:02 -03:00
pvrusb2 [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
pwc [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
s2255 [media] s2255drv: fix memory leak s2255_probe() 2014-05-23 12:19:42 -03:00
siano [media] Siano: smsusb - Add a device id for PX-S1UD 2014-03-11 12:12:53 -03:00
stk1160 [media] media: stk1160: Avoid stack-allocated buffer for control URBs 2014-05-24 17:12:11 -03:00
stkwebcam [media] Add HCL T12Rg-H to STK webcam upside-down table 2013-09-26 07:15:49 -03:00
tlg2300 [media] Convert to snd_card_new() with a device pointer 2014-02-14 08:14:09 +01:00
tm6000 [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
ttusb-budget [media] ttusb-budget: fix memory leak in ttusb_probe() 2013-06-21 15:06:51 -03:00
ttusb-dec [media] dvb-usb: fix error handling in ttusb_dec_probe() 2013-10-03 07:33:59 -03:00
usbtv [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
usbvision [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
uvc [media] uvcvideo: Fix clock param realtime setting 2014-05-23 11:27:37 -03:00
zr364xx [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
Kconfig [media] sn9c102: prepare for removal by moving it to staging 2013-12-20 13:41:36 -02:00
Makefile [media] sn9c102: prepare for removal by moving it to staging 2013-12-20 13:41:36 -02:00