]> git.itanic.dy.fi Git - linux-stable/commit
ARM: dts: imx6qdl-nitrogen6_max: fix sgtl5000 pinctrl init
authorGary Bisson <gary.bisson@boundarydevices.com>
Tue, 3 Jan 2017 11:22:46 +0000 (12:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jan 2017 07:24:43 +0000 (08:24 +0100)
commita075ac9c0a40f20ad14f052ee34e88922703ed20
tree4feeb109b85c3eafacb6eb05d9217eb8c0fe0df7
parentcfcb94b3a498108364db1ad1c36742e86d0c5c4c
ARM: dts: imx6qdl-nitrogen6_max: fix sgtl5000 pinctrl init

commit 6ab5c2b662e2dcbb964099bf7f19e9dbc9ae5a41 upstream.

This patch fixes the following error:
sgtl5000 0-000a: Error reading chip id -6
imx-sgtl5000 sound: ASoC: CODEC DAI sgtl5000 not registered
imx-sgtl5000 sound: snd_soc_register_card failed (-517)

The problem was that the pinctrl group was linked to the sound driver
instead of the codec node. Since the codec is probed first, the sys_mclk
was missing and it would therefore fail to initialize.

Fixes: b32e700256bc ("ARM: dts: imx: add Boundary Devices Nitrogen6_Max board")
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi