ASoC: Fix I2C component device id number creation
authorJarkko Nikula <jhnikula@gmail.com>
Tue, 19 Oct 2010 08:10:45 +0000 (11:10 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 19 Oct 2010 10:07:09 +0000 (03:07 -0700)
commit0589944661b9a9b9692f455fbbfce5eeda8fa7b6
treef87df0492fc18716a184fb39eb96e8c036a856ad
parente86e1244a41352d1b78d32c10316fc4df2c86a8a
ASoC: Fix I2C component device id number creation

Use bitwise AND instead of logical AND when masking.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c