ASoC: sglt5000: Provide the reg_stride field
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 4 Jul 2013 23:01:01 +0000 (20:01 -0300)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:13:37 +0000 (11:13 +0100)
commitcb23e852aabb50f5083fb734c2067220d087d26e
tree46162a0d1b2d246e0329176637259c09b43ba1cb
parentad81f0545ef01ea651886dddac4bef6cec930092
ASoC: sglt5000: Provide the reg_stride field

sgtl5000 has 16-bit registers, and only even numbers are valid for its registers
addresses.

Let regmap knows about this feature by specifying the 'reg_stride' field, so
that it can access only the valid registers.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/sgtl5000.c
This page took 0.025611 seconds and 5 git commands to generate.