]> git.baikalelectronics.ru Git - kernel.git/commit
davinci-mcasp: use bitfield definitions for PDIR
authorBen Gardiner <bengardiner@nanometrics.ca>
Thu, 21 Apr 2011 18:19:02 +0000 (14:19 -0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 26 Apr 2011 10:43:29 +0000 (11:43 +0100)
commitec595163696a9a63601161ab0f2dabb98f3a3d0f
tree38380c82732c99eb96e0c4afede82c6080212c69
parentdab565c10e7189976b285c4c0506ac0848d2b02b
davinci-mcasp: use bitfield definitions for PDIR

The current driver creates value for set/clr of PDIR using (x<<26) instead
of the #defines that are convieniently made available.

Update the driver to use the bitfield definitions of PDIR. There is no
functional change introduced by this patch.

Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Reviewed-by: James Nuss <jamesnuss@nanometrics.ca>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/davinci/davinci-mcasp.c