summaryrefslogtreecommitdiffstats
path: root/sound/usb/hiface/pcm.c
diff options
context:
space:
mode:
authorTakashi Iwai2019-08-06 14:03:56 +0200
committerTakashi Iwai2019-08-06 14:06:58 +0200
commitc1c6c877b0c79fd7e05c931435aa42211eaeebaf (patch)
treeda042ea3718ff43df8175b7a991beb775d592886 /sound/usb/hiface/pcm.c
parentALSA: usb-audio: fix a memory leak bug (diff)
downloadkernel-qcow2-linux-c1c6c877b0c79fd7e05c931435aa42211eaeebaf.tar.gz
kernel-qcow2-linux-c1c6c877b0c79fd7e05c931435aa42211eaeebaf.tar.xz
kernel-qcow2-linux-c1c6c877b0c79fd7e05c931435aa42211eaeebaf.zip
ALSA: hda - Don't override global PCM hw info flag
The commit bfcba288b97f ("ALSA - hda: Add support for link audio time reporting") introduced the conditional PCM hw info setup, but it overwrites the global azx_pcm_hw object. This will cause a problem if any other HD-audio controller, as it'll inherit the same bit flag although another controller doesn't support that feature. Fix the bug by setting the PCM hw info flag locally. Fixes: bfcba288b97f ("ALSA - hda: Add support for link audio time reporting") Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/hiface/pcm.c')
0 files changed, 0 insertions, 0 deletions