]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hdspm - Fix default value in SNDRV_HDSPM_IOCTL_GET_LTC
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Mon, 19 Aug 2013 15:20:30 +0000 (17:20 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Aug 2013 18:08:57 +0000 (20:08 +0200)
commitfe4604e168b07d472703b1ad26be1b80ed37ae72
tree2456e55eb419a4351ce2a66ca4a0a18483bc15e3
parent6f6f48d81e270773438d96dd08e7f9b97feaa4af
ALSA: hdspm - Fix default value in SNDRV_HDSPM_IOCTL_GET_LTC

Use enum hdspm_ltc_format's fps_30 (corresponds to 4) instead of 30,
Other case branches return 1, 2 or 3 respectively, so 30 obviously is
wrong.

Since SNDRV_HDSPM_IOCTL_GET_LTC had never been working due to a
copy&paste error in hdspm.h, this change doesn't break userspace.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdspm.c