commit | 4fdb2424cc4499237197a8c9d35b34d68c750475 | [log] [tgz] |
---|---|---|
author | Weike Chen <alvin.chen@intel.com> | Wed Oct 08 08:50:22 2014 -0700 |
committer | Mark Brown <broonie@kernel.org> | Mon Nov 24 19:00:01 2014 +0000 |
tree | 7752eaffb5df46255a2016a2f7d8af35c9d101fd | |
parent | 5d01410fe4d92081f349b013a2e7a95429e4f2c9 [diff] |
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>