spi/of: Fix initialization of cs_gpios array
Using memset does not set an array of integers properly. Replace with a loop to set each element properly. Signed-off-by: NAndreas Larsson <andreas@gaisler.com> Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
Showing
想要评论请 注册 或 登录