Files
kernel_common_drivers/drivers
Sunny Luo f62b139bbe spisg: unnecessary clk rate setting for the spi device max_speed_hz [1/1]
PD#SWPL-174740

Problem:
SPISG driver sets clk rate twice for a transfer, one sets the clk rate
with the spi device max_speed_hz in prepare_message, and the other sets
the clk rate with the transfer speed_hz in one_transfer.
Normally, the subsequent clk rate setting would be ingored if the speed
doesn't change. But if the two speeds are different, it would bring about
the clk_set_rate calling twice, and each calling takes about 2~3 msec.

Solution:
Port from cl-434207
Remove the unnecessary clk rate setting of prepare_message

Verify:
s7 bh201

Change-Id: I655a03f166415a256b35739e898be29ae047082a
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2024-07-22 21:54:05 -07:00
..
2024-07-04 23:16:48 -07:00
2024-05-22 01:59:54 -07:00
2022-02-22 11:00:37 +08:00
2024-07-21 22:53:37 -07:00
2024-07-05 10:44:48 +08:00
2023-01-04 01:07:19 -08:00
2024-07-15 19:45:24 -07:00
2024-07-22 21:53:57 -07:00
2024-06-30 22:01:20 -07:00
2024-07-09 05:11:38 -07:00
2024-07-17 03:57:59 -07:00
2024-07-05 10:44:48 +08:00
2024-07-05 10:44:46 +08:00
2024-05-23 20:29:10 -07:00
2024-07-17 03:57:17 -07:00
2024-01-31 22:15:34 -07:00
2024-07-07 20:13:10 -07:00