]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ASoC: tlv320aic32x4 fix initialization of micpga routing
authorWolfram Sang <w.sang@pengutronix.de>
Thu, 6 Oct 2011 18:53:36 +0000 (20:53 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 6 Oct 2011 19:00:11 +0000 (20:00 +0100)
commit23524eb16ace864c18a57ca035c76793a3c3eb65
tree01949a880c83b2017f7c111c0476d7c371be295e
parentb5c49d49b9e175fd56cb4b5cf2c4fd972d15e013
ASoC: tlv320aic32x4 fix initialization of micpga routing

Checking the pdata-flags used 'or', so the check is always true. Use 'and' to
correctly mask the flags.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Javier Martin <javier.martin@vista-silicon.com>
Cc: Liam Girdwood <lrg@ti.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/tlv320aic32x4.c