commit | 0bed2aa3ac5cbbd0b89bf5e94f165e2ef18180ad | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Jun 19 12:45:53 2018 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Jun 21 13:54:37 2018 +0200 |
tree | c68cbf326fce4477f7a0b74860879e1c91c67126 | |
parent | 3bf29db731ce22480de748464031b4447b248c0f [diff] |
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: Takashi Iwai <tiwai@suse.de>