]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tas571x: remove improper PDN signal usage in set_bias_level
authorPetr Kulhavy <brain@jikos.cz>
Mon, 3 Oct 2016 14:40:48 +0000 (16:40 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 4 Oct 2016 03:23:07 +0000 (05:23 +0200)
commit2e50fa9d7bc27eaa8e25c3919504f2d624549df4
tree424bbb5884efb453c5dc5f9aafc2d727bfb083e8
parent595343ce507b3b5ee7e9c94dbe7fff18e557a38b
ASoC: tas571x: remove improper PDN signal usage in set_bias_level

The set_bias_level toggles the PDN signal when entering
SND_SOC_BIAS_STANDBY and SND_SOC_BIAS_OFF. However this has no effect and
actually breaks things down (tested with TAS5717) due to the following
reasons:

1) holding down PDN does not save power but holding down RST does
2) now hard mute via register 0x5 is implemented and therefore it is no
   longer needed to toggle PDN to enter all channel shut down
3) in order to leave PDN it is required to toggle the RST signal (see
   TAS5721 datasheet), which was not implemented
4) toggling PDN as implemented actually mutes PWMs and there is no audio
   output (tested on TAS5717)

For these reasons remove the PDN signal toggling and just initialize it to
inactive in probe().

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas571x.c