[PATCH openEuler-5.10 045/161] spi: imx: add a check for speed_hz before calculating the clock