Thread (1 message) 1 message, 1 author, 2012-11-14

[PATCH 1/6] usb: chipidea: usbmisc: unset global varibale usbmisc on driver remove

From: alexander.shishkin@linux.intel.com (Alexander Shishkin)
Date: 2012-11-14 13:22:46
Also in: linux-devicetree

Michael Grzeschik [off-list ref] writes:
From: Marc Kleine-Budde <mkl@pengutronix.de>

While there fix a potential race condition, first set usbmisc, then call
usbmisc_set_ops().
This should be really two separate patches, both of which could use
more elaborate commit messages. That is, if you unset variable, what
kind of scenario it prevents, what exactly is the potential race
condition, etc. Saves time for everybody.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Michael Grzeschik <redacted>
---
 drivers/usb/chipidea/usbmisc_imx6q.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
I'd also move the renaming patch in front of everything else, but that's
up to you.

Regards,
--
Alex
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help