aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-03-02 09:48:41 -0500
committerMark Brown <broonie@linaro.org>2014-03-03 22:19:14 -0500
commitaf348519e4a41eac8eae82cf3dcaeb6c1b008113 (patch)
tree6504aa74755a5791a596676c5bb0caec01c7fb46 /scripts/patch-kernel
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
spi: xcomm: Remove duplicate code to set default bits_per_word and max speed
In the implementation of __spi_validate(), spi core will set transfer bits_per_word and max speed as spi device default if it is not set for this transfer. So we can remove the same logic in spi_xcomm_setup_transfer(). Also remove a redundant code to initialize is_first variable. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
>; u16 sd_blksz_fw_dl; }; /* Platform specific DMA alignment */ #define BTSDIO_DMA_ALIGN 8 /* Macros for Data Alignment : size */ #define ALIGN_SZ(p, a) \ (((p) + ((a) - 1)) & ~((a) - 1)) /* Macros for Data Alignment : address */ #define ALIGN_ADDR(p, a) \ ((((unsigned long)(p)) + (((unsigned long)(a)) - 1)) & \ ~(((unsigned long)(a)) - 1))