]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ssm2602: do not hardcode type to SSM2602
authorStefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Mon, 29 Sep 2014 19:39:13 +0000 (22:39 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 30 Sep 2014 12:27:19 +0000 (13:27 +0100)
commit891fc77e671b5390138e68273fb9f7e6bdbedff1
treea7d7ff53e0ae056649710a2fe42af661706c6d5f
parentca09702717581356bb91e5bbfbb244eda384a004
ASoC: ssm2602: do not hardcode type to SSM2602

The correct type (SSM2602/SSM2603/SSM2604) is passed down
from the ssm2602_spi_probe()/ssm2602_spi_probe() functions,
so use that instead of hardcoding it to SSM2602 in
ssm2602_probe().

Fixes: 65874a476acb ("ASoC: ssm2602: Split SPI and I2C code into different modules")
Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: stable@vger.kernel.org
sound/soc/codecs/ssm2602.c