Skip to content
Snippets Groups Projects
Commit 0da83bb1 authored by Andreas Larsson's avatar Andreas Larsson Committed by Grant Likely
Browse files

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: default avatarAndreas Larsson <andreas@gaisler.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 0d73299d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment