commit | 9cf2ffb3c3721c28f8d6473df0fa8693f5bead7d | [log] [tgz] |
---|---|---|
author | Jagan Teki <jteki@openedev.com> | Thu Oct 22 21:06:37 2015 +0530 |
committer | Jagan Teki <jteki@openedev.com> | Tue Oct 27 23:19:15 2015 +0530 |
tree | 5774b8c3639571c8bf93bda3d7c8fe2f7fb864e6 | |
parent | 736b4df15d603325f97663a7a4f26f7abf454dcf [diff] |
spi: zynq_[q]spi: Use GENMASK macro GENMASK macro used on zynq_spi.c and zynq_qspi.c GENMASK is used to create a contiguous bitmask([hi:lo]). Ex: (0x7 << 3) => GENMASK(5, 3) Cc: Michal Simek <michal.simek@xilinx.com> Acked-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Jagan Teki <jteki@openedev.com>