Peng Fan ecab65e4cd 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: Peng Fan <peng.fan@nxp.com>
2019-01-09 17:03:45 +01:00
..
2018-08-11 16:00:50 +02:00
2018-08-11 16:00:50 +02:00
2018-11-14 09:16:27 -08:00
2018-11-14 09:16:27 -08:00
2017-01-21 15:12:33 -05:00
2018-11-14 09:16:27 -08:00
2018-11-14 09:16:27 -08:00
2018-12-19 15:23:01 +01:00
2018-12-19 15:23:01 +01:00
2018-12-19 15:23:01 +01:00
2018-07-20 15:55:05 -04:00