[alsa-devel] [PATCH v5 03/13] ALSA: hda/ca0132: Add PCI region2 iomap for SBZ

Takashi Iwai tiwai at suse.de
Sun May 13 09:18:57 CEST 2018


On Tue, 08 May 2018 19:20:03 +0200,
Connor McAdams wrote:
> 
> 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.
> 
> Signed-off-by: Connor McAdams <conmanx360 at gmail.com>
> ---
>  sound/pci/hda/patch_ca0132.c | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c
> index 02238fe..78d2c26 100644
> --- a/sound/pci/hda/patch_ca0132.c
> +++ b/sound/pci/hda/patch_ca0132.c
> @@ -29,6 +29,9 @@
>  #include <linux/firmware.h>
>  #include <linux/kernel.h>
>  #include <sound/core.h>
> +#include <linux/types.h>
> +#include <linux/io.h>
> +#include <linux/pci.h>
>  #include "hda_codec.h"
>  #include "hda_local.h"
>  #include "hda_auto_parser.h"

The linux/*.h inclusion should be before sound/*.h.
But never mind, I fixed it locally, so no need for resubmission.


thanks,

Takashi


More information about the Alsa-devel mailing list