aboutsummaryrefslogtreecommitdiff
path: root/lib/of_live.c
diff options
context:
space:
mode:
authorStefan Mavrodiev2018-12-05 14:49:44 +0200
committerMarek Vasut2018-12-14 17:59:10 +0100
commit46a3f276549f3e5720b6e80278cda354c7fa859f (patch)
treeb92d103424eb34926392333269f1c5629562ada7 /lib/of_live.c
parent771e76515ed5abe7eff73a54ccb0c9ae55f34388 (diff)
usb: musb-new: sunxi: Fix null pointer access
When the device is in peripheral mode there is no struct usb_bus_priv allocated pointer, as the uclass driver ("usb_dev_generic") doesn't call per_device_auto_alloc_size. This results in writing to the internal SDRAM at priv->desc_before_addr = true; Signed-off-by: Stefan Mavrodiev <stefan@olimex.com>
Diffstat (limited to 'lib/of_live.c')
0 files changed, 0 insertions, 0 deletions