Skip to content
Unverified Commit 2ec8b010 authored by William A. Kennington III's avatar William A. Kennington III Committed by Mark Brown
Browse files

spi: npcm-fiu: Fix UMA reads when dummy.nbytes == 0



We don't want to use the value of ilog2(0) as dummy.buswidth is 0 when
dummy.nbytes is 0. Since we have no dummy bytes, we don't need to
configure the dummy byte bits per clock register value anyway.

Signed-off-by: default avatar"William A. Kennington III" <william@wkennington.com>
Link: https://lore.kernel.org/r/20230922182812.2728066-1-william@wkennington.com
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1a8196a9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment