[PATCH 5.10 049/167] spi: imx: add a check for speed_hz before calculating the clock