ASoC: tas571x: chip type detection via I2C name
authorPetr Kulhavy <petr@barix.com>
Tue, 29 Mar 2016 07:39:35 +0000 (09:39 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 31 Mar 2016 00:01:47 +0000 (17:01 -0700)
commit630e413dc24da0c2373fd7592aeb0e08cea71cd1
tree5a11d9388c76cd8b8a4db5d04733a97fcec8cb2a
parent0400485076e8bb167d5f4b3eb5f6d05e4b4361b7
ASoC: tas571x: chip type detection via I2C name

The chip selection was relying only on DT. It was not possible to use the
driver without DT.
This adds the chip type detection from the I2C name, which
allows to use the driver from the platform driver without DT.

Signed-off-by: Petr Kulhavy <petr@barix.com>
Reviewed-by: Kevin Cernekee <cernekee@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas571x.c
This page took 0.024261 seconds and 5 git commands to generate.