spi: omap3: pre-initialize bus-speed with max. slave-speed
authorHannes Schmelzer <oe5hpm@oevsv.at>
Sat, 2 Jun 2018 06:06:47 +0000 (08:06 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 25 Jun 2018 10:05:01 +0000 (15:35 +0530)
commitb1d2b529b4137740f7f1575ba3d6561297a6a848
tree892d26a9ffe6fef173d8939e713972aa55b662b1
parent34ad74914140dc6060b56a27641c686e86d7a9a4
spi: omap3: pre-initialize bus-speed with max. slave-speed

Otherwise the frequency is zero and the clock divider cannot be setup by
'omap3_spi_set_speed' function.

Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/spi/omap3_spi.c