]> 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)
commit0acf9f67de0ba3a4b42bbcca7f17423954c512c9
tree60d45e5a6dad1df37f33cd242381dd5020f4def8
parentaeaceab41d14f326460366c7e31e61daa7b463b4
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