Home
last modified time | relevance | path

Searched hist:"46 a3f276549f3e5720b6e80278cda354c7fa859f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/usb/musb-new/
H A Dsunxi.cdiff 46a3f276549f3e5720b6e80278cda354c7fa859f Wed Dec 05 06:49:44 CST 2018 Stefan Mavrodiev <stefan@olimex.com> 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>