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)
commitfc4cf4293f0da3985ca66edc2cf067531d933c42
tree60d45e5a6dad1df37f33cd242381dd5020f4def8
parentd460975eeea80a4ef9a089ee6e413f72fb742316
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