MLK-20559-5 f_sdp: Add a callback to clean up USB driver
authorYe Li <ye.li@nxp.com>
Thu, 3 Jan 2019 08:46:09 +0000 (00:46 -0800)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 10:38:53 +0000 (03:38 -0700)
commita3ed6467a4efb7acaa15281ec2c37e7f051b00db
treeaa4a0922067eeda8bf68febbc29235291379e148
parent4313297467dd130222d50d923fd47a727ba50331
MLK-20559-5 f_sdp: Add a callback to clean up USB driver

Because SDP directly jumps to next level boot image, we'd better
clean up the USB driver before it. Implement a weak callback function,
that spl sdp can use it to clean up USB driver.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 1f6b3efc62cb277fd4316d8ed5115f47b09369a0)
common/spl/spl_sdp.c
drivers/usb/gadget/f_sdp.c