Commit 888b61a
media: i2c: imx500: Allow larger SPI transfers
Remove the arbitrary 1 MiB transfer limit from imx500_spi_write() as
the 1 MiB chunk limitation for firmware / network transfers is already
upheld by imx500_state_transition(). This allows for larger input
tensors to be injected via imx500_inject_input_tensor() (where there is
no 1 MiB chunk limitation).
Increase the number of poll attempts whilst waiting for the injection
handshake register to be TRANS_COMP to allow more time for the checksum
of larger input tensors to be calculated.
Alter error messages in imx500_inject_input_tensor() so that
imx500_spi_write() and imx500_injection_wait_transfer_complete() errors
may be more easily differentiated.
Signed-off-by: Richard Oliver <[email protected]>1 parent a754b1a commit 888b61a
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1937 | 1937 | | |
1938 | 1938 | | |
1939 | 1939 | | |
1940 | | - | |
| 1940 | + | |
1941 | 1941 | | |
1942 | 1942 | | |
1943 | 1943 | | |
| |||
1957 | 1957 | | |
1958 | 1958 | | |
1959 | 1959 | | |
1960 | | - | |
| 1960 | + | |
1961 | 1961 | | |
1962 | 1962 | | |
1963 | 1963 | | |
| |||
2085 | 2085 | | |
2086 | 2086 | | |
2087 | 2087 | | |
2088 | | - | |
| 2088 | + | |
2089 | 2089 | | |
2090 | 2090 | | |
2091 | 2091 | | |
| |||
0 commit comments