diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-02-03 08:50:06 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-02-05 08:47:25 +0100 |
commit | 83af57dd515cf06883f6e954dd0efa9b15b514a6 (patch) | |
tree | 8a3a51fa48599e700fdc580e78d66125bbec9f92 /Documentation/features/debug | |
parent | 412bbe7d5b8cdb103af82c3616149138c50d1efa (diff) |
ALSA: x86: Don't check connection in lowlevel accessors
The lowlevel register read/write don't have to be careful about the
connection state. It should be checked in the caller side instead.
By dropping the check, we can simplify the code, and readability.
This patch also refacors the functions slightly: namely,
- drop the useless always-zero return values
- fold the inline functions to the main accessor functions themselves
- move the DP audio hack for AUD_CONFIG to the caller side
- simplify snd_intelhad_eanble_audio() and drop the unused
had_read_modify()
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation/features/debug')
0 files changed, 0 insertions, 0 deletions