]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/ca0132: Add PCI region2 iomap for SBZ
authorConnor McAdams <conmanx360@gmail.com>
Tue, 8 May 2018 17:20:03 +0000 (13:20 -0400)
committerTakashi Iwai <tiwai@suse.de>
Sun, 13 May 2018 07:29:27 +0000 (09:29 +0200)
commitafc8f9f09252a7a693b4c572d4764afd67b5c033
treeb30e77dbbdc9c08bd724ff1c5b017fa82280992b
parent3996e9a802e2226e92df0416df1f6c02ea0031a7
ALSA: hda/ca0132: Add PCI region2 iomap for SBZ

This patch adds iomapping for the region2 section of memory on the SBZ.
This memory region is used in later patches for setting inputs and
outputs. If the mapping fails, the quirk is changed back to QUIRK_NONE
to avoid attempts to write to uninitialized memory.

It also adds a new exit sequence to unmap the iomem for the SBZ.

[ Reordered linux/*.h inclusion in the patch by tiwai ]

Signed-off-by: Connor McAdams <conmanx360@gmail.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c