OSDN Git Service

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)
commitaa31704fd81c84f6a9e0b87f3455246936654ae6
treeb30e77dbbdc9c08bd724ff1c5b017fa82280992b
parent63177afc98a509a2406e82cb1239144a0123a414
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