commit | 4aedb9465f717a8393bb5f40581eb7942af12506 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Feb 02 16:38:39 2017 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Feb 03 17:37:23 2017 +0100 |
tree | 4ce41c4f29ca703a82d8ce7a97e6a990c57091fb | |
parent | 03c3437755881a9f6f1b5f8c05e62edf7898a87f [diff] |
ALSA: x86: Create ELD control element Like other drivers, expose the ELD bytes via a control element so that user-space can parse it. For the simplicity, the code to register the ctl elements is refactored using an array. Also, since ELD ctl read copies the bytes also during disconnection, clear the ELD bytes at hot-unplug, in order to avoid the leak of the previous bogus ELD. Signed-off-by: Takashi Iwai <tiwai@suse.de>