spi/spi-sh: add IORESOURCE_MEM_TYPE_MASK decoding for access size
authorShimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>
Wed, 7 Mar 2012 05:45:37 +0000 (14:45 +0900)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 8 Mar 2012 02:18:45 +0000 (19:18 -0700)
commit0eb8880fac7b0f32ebab33f99e758c6b308e3aa1
tree2d8ca659f3db6d17a1957fd6c9957beace6c171e
parentd5a8003135da7afe311e4e13ff42000ab7cd2078
spi/spi-sh: add IORESOURCE_MEM_TYPE_MASK decoding for access size

This SPI controller's access size is 32, or 8-bit. The previous driver
supported 32-bit only. So, this patch adds IORESOURCE_MEM_TYPE_MASK
decoding, an then, the driver can handle the SPI controller of 8-bit.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-sh.c