diff options
author | Stefan Mavrodiev | 2018-12-05 14:49:44 +0200 |
---|---|---|
committer | Marek Vasut | 2018-12-14 17:59:10 +0100 |
commit | 46a3f276549f3e5720b6e80278cda354c7fa859f (patch) | |
tree | b92d103424eb34926392333269f1c5629562ada7 /lib/of_live.c | |
parent | 771e76515ed5abe7eff73a54ccb0c9ae55f34388 (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