Commit 1c9f8905 authored by Jon Lin's avatar Jon Lin Committed by Zheng Zengkai
Browse files

spi: rockchip: Fix error in getting num-cs property

stable inclusion
from stable-v5.10.106
commit 889254f98e99f824abc76c8fcac5652e140255c3
bugzilla: https://gitee.com/openeuler/kernel/issues/I573US

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=889254f98e99f824abc76c8fcac5652e140255c3



--------------------------------

[ Upstream commit 9382df0a ]

Get num-cs u32 from dts of_node property rather than u16.

Signed-off-by: default avatarJon Lin <jon.lin@rock-chips.com>
Link: https://lore.kernel.org/r/20220216014028.8123-2-jon.lin@rock-chips.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYu Liao <liaoyu15@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 498356fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment