Skip to contentSkip to conversation

Patch "ALSA: hdac: Explicitly add io.h" has been added to the 4.2-stable tree

PATCH [email protected] 1 participant 1 message Nov 6, 2015

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ALSA: hdac: Explicitly add io.h

to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
alsa-hdac-explicitly-add-io.h.patch
and it can be found in the queue-4.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 42f2bb1c494543084b764e1ca253c73db910daf2 Mon Sep 17 00:00:00 2001

From: Vinod Koul <[email protected]>
Date: Tue, 13 Oct 2015 14:57:49 +0530
Subject: ALSA: hdac: Explicitly add io.h

From: Vinod Koul <[email protected]>

commit 42f2bb1c494543084b764e1ca253c73db910daf2 upstream.

Compiling the hdac extended core on arm fails with below error:

sound/hda/ext/hdac_ext_bus.c: In function 'hdac_ext_writel':

Quoted 2 lines
Quoted 2 lines

sound/hda/ext/hdac_ext_bus.c:29:2: error: implicit declaration of function

+'writel' [-Werror=implicit-function-declaration]

     writel(value, addr);
     ^

sound/hda/ext/hdac_ext_bus.c: In function 'hdac_ext_readl':

Quoted 2 lines
Quoted 2 lines

sound/hda/ext/hdac_ext_bus.c:34:2: error: implicit declaration of function

+'readl' [-Werror=implicit-function-declaration]

     return readl(addr);

This is fixed by explicitly including io.h

Fixes 99463b3a3994 - ('ALSA: hda: provide default bus io ops extended hdac')
---
 sound/hda/ext/hdac_ext_bus.c |    1 +
 1 file changed, 1 insertion(+)
sound/hda/ext/hdac_ext_bus.c +1 -0
@@ -19,6 +19,7 @@
 
 #include <linux/module.h>
 #include <linux/slab.h>
+#include <linux/io.h>
 #include <sound/hdaudio_ext.h>
 
 MODULE_DESCRIPTION("HDA extended core");

Patches currently in stable-queue which might be from [email protected] are

queue-4.2/alsa-hdac-explicitly-add-io.h.patch