Skip to content
Commit 3bef1c37 authored by Laurence Darby's avatar Laurence Darby Committed by Takashi Iwai
Browse files

ALSA: hda - stop setup_dig_out_stream() causing clicks



Starting audio or seeking in various music players causes
setup_dig_out_stream() to be called, which resets the SPDIF stream,
which caused one DAC (but not another) to make a clicking noise every
time.

This patch ensures the reset only happens when it needs to, which is
when the format changes, and makes the code a little more readable.

Signed-off-by: default avatarLaurence Darby <ldarby@tuffmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a5d00dc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment