]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit9595c8f035829d0c5deffbfdc6819d6797b3b402
tree38380c82732c99eb96e0c4afede82c6080212c69
parent049cfaaa47cb9b796bbc298869c0a27d434bb766
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