[alsa-devel] [PATCH v5 1/2] ASoC: sgtl5000: Read SGTL5000_CHIP_ID in i2c_probe()

Eric Nelson eric.nelson at boundarydevices.com
Fri May 10 18:37:58 CEST 2013


On 05/09/2013 05:15 PM, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
>
> The usual place for reading chip ID is inside i2c_probe, so move it there and
> also convert it to regmap.
>
> sgtl5000_enable_regulators() needs to read the chip revision, so keep the
> revision check there.
>
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---
> Changes since v4:
> - Just introduced in this version.
>
>   sound/soc/codecs/sgtl5000.c |   39 ++++++++++++++++++++++++---------------
>   1 file changed, 24 insertions(+), 15 deletions(-)
>

Tested-by: Eric Nelson <eric.nelson at boundarydevices.com>



More information about the Alsa-devel mailing list