projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
spi/imx: remove redundant config.speed_hz setting
[deliverable/linux.git]
/
drivers
/
spi
/
spi-imx.c
diff --git
a/drivers/spi/spi-imx.c
b/drivers/spi/spi-imx.c
index 47877d687614fbeb9867ac34b8052fe83bc68b90..c12052fef68cc45a2bf9a4a67b62c939ee718d19 100644
(file)
--- a/
drivers/spi/spi-imx.c
+++ b/
drivers/spi/spi-imx.c
@@
-688,8
+688,6
@@
static int spi_imx_setupxfer(struct spi_device *spi,
config.speed_hz = spi->max_speed_hz;
if (!config.bpw)
config.bpw = spi->bits_per_word;
- if (!config.speed_hz)
- config.speed_hz = spi->max_speed_hz;
/* Initialize the functions for transfer */
if (config.bpw <= 8) {
This page took
0.026303 seconds
and
5
git commands to generate.