summaryrefslogtreecommitdiff
path: root/Documentation/DocBook/kernel-hacking.tmpl
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-02-03 08:50:06 +0100
committerTakashi Iwai <tiwai@suse.de>2017-02-05 08:47:25 +0100
commit83af57dd515cf06883f6e954dd0efa9b15b514a6 (patch)
tree8a3a51fa48599e700fdc580e78d66125bbec9f92 /Documentation/DocBook/kernel-hacking.tmpl
parent412bbe7d5b8cdb103af82c3616149138c50d1efa (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/DocBook/kernel-hacking.tmpl')
0 files changed, 0 insertions, 0 deletions