Commit 22f8b827 authored by Harini Katakam's avatar Harini Katakam Committed by Michal Simek
Browse files

SPI: cadence: Dont typecast master->num_chipselect



Use a local integer variable to get property and then write the same
in master->num_chipselect.

There is an option to use of_property_read_u16 but for
that different device-tree description has to be used
num-chip-select = /bits/ 16 <4>;
This change will be discussed in mainling process.

Signed-off-by: default avatarHarini Katakam <harinik@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent c3a188c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment