summaryrefslogtreecommitdiffstats
path: root/sound/x86
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-02-07 08:13:50 +0100
committerTakashi Iwai <tiwai@suse.de>2017-02-07 09:43:01 +0100
commit3e21a76ca32f535a7640b0657f8d56660527ddab (patch)
tree4ab6a7a83849eef4e3022a2c64204c5193268188 /sound/x86
parent5d81296b5e7849ba3bcc5bf430ffd37bf67ff7dc (diff)
downloadlinux-3e21a76ca32f535a7640b0657f8d56660527ddab.tar.bz2
ALSA: x86: Drop suspicious U24 format support
U24 format is declared to be supported by the driver, but this looks really doubtful, as there is no corresponding code. Better to drop it. This format is very uncommon, so there should be practically no impact by this change. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/x86')
-rw-r--r--sound/x86/intel_hdmi_audio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/x86/intel_hdmi_audio.c b/sound/x86/intel_hdmi_audio.c
index 8978dc9bf579..11ee4dddc5dd 100644
--- a/sound/x86/intel_hdmi_audio.c
+++ b/sound/x86/intel_hdmi_audio.c
@@ -136,8 +136,7 @@ static const struct snd_pcm_hardware had_pcm_hardware = {
SNDRV_PCM_INFO_MMAP|
SNDRV_PCM_INFO_MMAP_VALID |
SNDRV_PCM_INFO_BATCH),
- .formats = (SNDRV_PCM_FMTBIT_S24 |
- SNDRV_PCM_FMTBIT_U24),
+ .formats = SNDRV_PCM_FMTBIT_S24,
.rates = SNDRV_PCM_RATE_32000 |
SNDRV_PCM_RATE_44100 |
SNDRV_PCM_RATE_48000 |