spi: omap-100k: Fix the length judgment problem

word_len should be checked in the omap1_spi100k_setup_transfer
function to see if it exceeds 32.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Link: https://lore.kernel.org/r/1619695248-39045-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Tian Tao 2021-04-29 19:20:48 +08:00 • committed by Mark Brown
commit e7a1a3abea
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0