diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-02-02 23:33:54 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-02-10 12:21:41 +0300 |
commit | a9ebdd0ef261fb9838af2821c09d165f6a14789b (patch) | |
tree | a9349e2386555cf4a4a311bb81e5faafed593613 /sound/x86 | |
parent | 40ce4b5d70b0c7e70c3e831e56d2586b57b54915 (diff) | |
download | linux-a9ebdd0ef261fb9838af2821c09d165f6a14789b.tar.xz |
ALSA: x86: Don't pass SNDRV_PCM_INFO_BATCH flag
The PCM engine on LPE audio isn't like a batch-style process any
longer, but rather it deals with the standard ring buffer. Remove the
BATCH info flag so that PA can handle the buffer in timer-sched mode.
Similarly, the DOUBLE flag is also superfluous. Drop both bits.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/x86')
-rw-r--r-- | sound/x86/intel_hdmi_audio.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/x86/intel_hdmi_audio.c b/sound/x86/intel_hdmi_audio.c index 15147fec1a7e..73a662d20201 100644 --- a/sound/x86/intel_hdmi_audio.c +++ b/sound/x86/intel_hdmi_audio.c @@ -132,10 +132,8 @@ static const struct channel_map_table map_tables[] = { /* hardware capability structure */ static const struct snd_pcm_hardware had_pcm_hardware = { .info = (SNDRV_PCM_INFO_INTERLEAVED | - SNDRV_PCM_INFO_DOUBLE | - SNDRV_PCM_INFO_MMAP| - SNDRV_PCM_INFO_MMAP_VALID | - SNDRV_PCM_INFO_BATCH), + SNDRV_PCM_INFO_MMAP | + SNDRV_PCM_INFO_MMAP_VALID), .formats = SNDRV_PCM_FMTBIT_S24, .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | |