Skip to content
Commit ecab65e4 authored by Peng Fan's avatar Peng Fan Committed by Stefano Babic
Browse files

misc: imx: scu: avoid write null pointer



When boot_dev is true, fill boot device. However the original logic is when
boot_dev is false, fill boot device, this will trigger data abort.

Also fix sc_misc_get_control when using pointer val.

Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
parent 224f7452
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment