commit | e1af6aecbb732700750e15ac53d64d5523a0a044 | [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 | f94b3f7a25af8c0515cb7f943d43527f124d7098 [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>