Skip to content
Commit 0bed2aa3 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Sanity check of unexpected cap_sync_hook override



There are a couple of places setting cap_sync_hook in the codec
drivers, and they just overwrite the value.  Add a sanity check via
WARN_ON() in case if an old non-NULL value is overridden and
forgotten.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 3bf29db7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment