Disable SoC sound driver in porter board 73/7673/1
authorNaoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
Fri, 16 Dec 2016 16:08:54 +0000 (01:08 +0900)
committerNaoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
Fri, 16 Dec 2016 16:08:54 +0000 (01:08 +0900)
The Porter board currently has a problem that pulseaudio can not be used due to the sound driver.
I enabled USB Audio as a workaround, but we had to manually change the default sound device.
As a further workaround, disable the SoC sound driver on the Porter board.

Change-Id: Ie53b75ea0bc252b82910e518da62d2748147fc90
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux-renesas_%.bbappend
meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux/disable_soc_sound.patch [new file with mode: 0644]

index 57e8d17..3bceae5 100755 (executable)
@@ -1,8 +1,10 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/linux:"
 
 # Enable support for TP-Link TL-W722N USB Wifi adapter and RTL2832U DVB USB and USB Audio
+# Disable SoC sound
 # adapter.
 SRC_URI += " file://disable_delay_printk.patch \
+             file://disable_soc_sound.patch \
              file://ath9k_htc.cfg \
              file://rtl_sdr.cfg \
              file://usbaudio.cfg \
diff --git a/meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux/disable_soc_sound.patch b/meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux/disable_soc_sound.patch
new file mode 100644 (file)
index 0000000..5fa52fa
--- /dev/null
@@ -0,0 +1,15 @@
+diff --git a/arch/arm/configs/shmobile_defconfig b/arch/arm/configs/shmobile_defconfig
+old mode 100644
+new mode 100755
+index 432817d..7291d13
+--- a/arch/arm/configs/shmobile_defconfig
++++ b/arch/arm/configs/shmobile_defconfig
+@@ -173,7 +173,7 @@ CONFIG_FB_SH_MOBILE_LCDC=y
+ CONFIG_FB_SH_MOBILE_HDMI=y
+ CONFIG_FRAMEBUFFER_CONSOLE=y
+ CONFIG_LOGO=y
+-CONFIG_SND_SOC_RCAR=y
++#CONFIG_SND_SOC_RCAR is not set
+ CONFIG_USB=y
+ CONFIG_USB_EHCI_HCD=y
+ CONFIG_USB_EHCI_ROOT_HUB_TT=y