summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorMario Six <[email protected]>2019-04-29 01:58:51 +0530
committerJagan Teki <[email protected]>2019-06-10 17:59:49 +0530
commitf6fcad5f2a889db6fb26afd71ed92dde00cb85e1 (patch)
tree88ebbf7419a03eb949d1aca57194a06443c398c6 /scripts/basic
parenta1c178e4c7eede986a31c18d413b33095136dbae (diff)
spi: mpc8xxx: Fix if check
Decreasing the bit length and increasing the write data pointer should be done when there are more than 32 bit of data, not 16 bit. This did not produce incorrect behavior, because the only time where the two checks produce different outcomes is the case of 16 < bitlen < 32, and in this case the subsequent transmission is the last one regardless, hence the additional bit length decrease and write data pointer increase has no effect anyway. Still, the correct check is the check for "bitlen > 32", so correct this behavior. Signed-off-by: Mario Six <[email protected]> Acked-by: Jagan Teki <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions