ASoC: tas2552: Simplify and reverse the functionality of tas2552_sw_shutdown
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 4 Jun 2015 13:04:19 +0000 (16:04 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 4 Jun 2015 16:50:03 +0000 (17:50 +0100)
commitdd6e3053405c2fe7baa36e4fe2a12083f508abfc
tree5fa79778ae3dc2efae59273bfad572184271aa9b
parente3606aa496c98595cb206ac8fed9bc8152ffe34e
ASoC: tas2552: Simplify and reverse the functionality of tas2552_sw_shutdown

The function name and parameters of:
tas2552_sw_shutdown(struct tas2552_data *tas_data, int sw_shutdown)

implies that if sw_shutdown is 1 we should be entering to the software
shutdown mode.

The code can be simplified as well within the function.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2552.c