MLK-10055-2: mfd: si476x-i2c: sound is registered when no FM module attached
authorShengjiu Wang <shengjiu.wang@freescale.com>
Wed, 24 Dec 2014 08:51:22 +0000 (16:51 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:14 +0000 (14:48 -0500)
commitbb2da04fbd8ca1b8460fdccd72439d3b67f6660c
treed223794f15016e72011486d99f4be9e9f1ab78e5
parent88358e3260f57896f8fd200610c5bd49c7cc64a2
MLK-10055-2: mfd: si476x-i2c: sound is registered when no FM module attached

The si476x_core_get_revision_info will send i2c command to FM module, if it
return error, there is no FM modules attached, so we need't to register the
sound card. otherwise, the pulseaudio will access this sound card, but return
a lot of i2c error.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit 4c8e9916128f05f9b4115e1ee1af4a1e7d800c4a)
drivers/mfd/si476x-i2c.c