]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320aic32x4: Use BIT and GENMASK for bit field definitions
authorAndrew F. Davis <afd@ti.com>
Tue, 12 Dec 2017 22:43:07 +0000 (16:43 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 13 Dec 2017 12:28:18 +0000 (12:28 +0000)
commit0fe7aa39ba0492aabdde67dc1511055c9dc7e960
treed18b201aa912d8efff96764d0345caeccfd6a683
parent77bdb58795d86262e96ba37524489ba0969de253
ASoC: tlv320aic32x4: Use BIT and GENMASK for bit field definitions

Inter-register definitions should use BIT and GENMASK definitions
and also be grouped by what register they belong to. This makes it
easy to cross-check with the datasheet and is consistent with other
drivers.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic32x4.c
sound/soc/codecs/tlv320aic32x4.h