diff mbox series

ARM: imx_v6_v7_defconfig: Select CONFIG_SND_SOC_WM8962 explicitly

Message ID 1519931336-9710-1-git-send-email-festevam@gmail.com
State New
Headers show
Series ARM: imx_v6_v7_defconfig: Select CONFIG_SND_SOC_WM8962 explicitly | expand

Commit Message

Fabio Estevam March 1, 2018, 7:08 p.m. UTC
From: Fabio Estevam <fabio.estevam@nxp.com>

Currently CONFIG_SND_SOC_WM8962 is selected via SND_SOC_IMX_WM8962
machine driver option.

SND_SOC_IMX_WM8962 will be removed in the next kernel cycle, so
select the codec driver directly so that it can still be used
by default via the generic fsl-asoc-card machine driver.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
The patch that removes SND_SOC_IMX_WM8962 is in linux-next:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20180301&id=790d631dcfec6b073b04bb6809bce4c09baf198a

 arch/arm/configs/imx_v6_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Nicolin Chen March 2, 2018, 8:55 a.m. UTC | #1
On Thu, Mar 01, 2018 at 04:08:56PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
> 
> Currently CONFIG_SND_SOC_WM8962 is selected via SND_SOC_IMX_WM8962
> machine driver option.
> 
> SND_SOC_IMX_WM8962 will be removed in the next kernel cycle, so
> select the codec driver directly so that it can still be used
> by default via the generic fsl-asoc-card machine driver.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>

Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>

Btw, we may also do this to imx-sgtl5000? I don't have a board
to verify it though..
Fabio Estevam March 2, 2018, 12:43 p.m. UTC | #2
Hi Nicolin,

On Fri, Mar 2, 2018 at 5:55 AM, Nicolin Chen <nicoleotsuka@gmail.com> wrote:

> Btw, we may also do this to imx-sgtl5000? I don't have a board
> to verify it though..

I will run some tests on mx25/mx53/mx6 boards with sgtl5000.

If all of them work well with the fsl-asoc-card machine driver, then I
will send a patch removing imx-sgtl5000 as well.
Shawn Guo March 8, 2018, 8:26 a.m. UTC | #3
On Thu, Mar 01, 2018 at 04:08:56PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
> 
> Currently CONFIG_SND_SOC_WM8962 is selected via SND_SOC_IMX_WM8962
> machine driver option.
> 
> SND_SOC_IMX_WM8962 will be removed in the next kernel cycle, so
> select the codec driver directly so that it can still be used
> by default via the generic fsl-asoc-card machine driver.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>

Applied, thanks.
diff mbox series

Patch

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index 9d9c729..3a30843 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -284,6 +284,7 @@  CONFIG_SND_SOC_AC97_CODEC=y
 CONFIG_SND_SOC_CS42XX8_I2C=y
 CONFIG_SND_SOC_TLV320AIC3X=y
 CONFIG_SND_SOC_WM8960=y
+CONFIG_SND_SOC_WM8962=y
 CONFIG_SND_SIMPLE_CARD=y
 CONFIG_HID_MULTITOUCH=y
 CONFIG_USB=y