]> 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)
commitdda8a736f1f1d5cfb5664cb3eee03000a8e68976
treeb30e77dbbdc9c08bd724ff1c5b017fa82280992b
parent41b330e6eac952f140b13233e655100cbffca642
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