]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: Use SGTL5000_LINREG_VDDD_MASK instead of hardcoded mask value
authorAxel Lin <axel.lin@gmail.com>
Thu, 20 Oct 2011 10:49:29 +0000 (18:49 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 21 Oct 2011 08:56:06 +0000 (09:56 +0100)
commit064a4bcee4114e519ce22d56d2eb8e9dfa653804
treee42e9a80d1ea248c03ad33b80f545460ccf0fdaa
parent5b13de7aa754eaa274fc9ab018191bcdcb21bc45
ASoC: Use SGTL5000_LINREG_VDDD_MASK instead of hardcoded mask value

We have defined SGTL5000_LINREG_VDDD_MASK in sgtl5000.h,
use it instead of hardcoded (0x1 << 4) - 1 for the mask.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/sgtl5000.c