aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <[email protected]>2012-03-21 21:34:30 +0530
committerFelipe Balbi <[email protected]>2012-04-10 19:11:49 +0300
commit8ae8090c82eb407267001f75b3d256b3bd4ae691 (patch)
tree48fc0cf66f6ccb87b0955ce83431181d85534031 /lib/mpi/mpi-inline.c
parent3006dc8c627d738693e910c159630e4368c9e86c (diff)
usb: gadget: udc-core: fix asymmetric calls in remove_driver
During modprobe of gadget driver, pullup is called after udc_start. In order to make the exit path symmetric when removing a gadget driver, call pullup before ->udc_stop. This is needed to avoid issues with PM where udc_stop disables the module completely (put IP in reset state, cut functional and interface clocks, and so on), which prevents us from accessing the IP's address space, thus creating the possibility of an abort exception when we try to access IP's address space after clocks are off. Cc: [email protected] Signed-off-by: Partha Basak <[email protected]> Signed-off-by: Kishon Vijay Abraham I <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions