]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: x86: Use standard mmap helper for Intel HDMI LPE audio
authorTakashi Iwai <tiwai@suse.de>
Sat, 5 Mar 2022 08:33:08 +0000 (09:33 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 5 Mar 2022 08:33:48 +0000 (09:33 +0100)
commit698a291691c955c4392d88da79802f1946700039
tree60d45e5a6dad1df37f33cd242381dd5020f4def8
parentf4e14f9836ebd489cc4f602a66ea77e7b6101ab3
ALSA: x86: Use standard mmap helper for Intel HDMI LPE audio

Intel HDMI LPE audio driver has its own mmap callback that mimics with
the noncached page attributes, but this is rather superfluous and can
be replaced with the standard helper, as the device is only for
playback and the write-cache should suffice.

This patch drops the own code and just uses the standard helper.

Link: https://lore.kernel.org/r/20220305083308.15718-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c