]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
spi: spi-pxa2xx: Add helpers for regiseters' accessing
authorWeike Chen <alvin.chen@intel.com>
Wed, 8 Oct 2014 15:50:22 +0000 (08:50 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 24 Nov 2014 19:00:01 +0000 (19:00 +0000)
commit4fdb2424cc4499237197a8c9d35b34d68c750475
tree7752eaffb5df46255a2016a2f7d8af35c9d101fd
parent5d01410fe4d92081f349b013a2e7a95429e4f2c9
spi: spi-pxa2xx: Add helpers for regiseters' accessing

There are several registers for SPI, and the registers of 'SSCR0' and 'SSCR1'
are accessed frequently. This path is to introduce helper functions to
simplify the accessing of 'SSCR0' and 'SSCR1'.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Weike Chen <alvin.chen@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c