* [PATCH 4/4] tm6000: Clear bit in tm6000_devused when board is disconnected.
@ 2009-04-05 0:46 Kevin Wells
0 siblings, 0 replies; only message in thread
From: Kevin Wells @ 2009-04-05 0:46 UTC (permalink / raw)
To: Steven Toth; +Cc: linux-media
# HG changeset patch
# User Kevin Wells <kevin.wells@kahusoft.com>
# Date 1238885821 -43200
# Node ID ca10a33f275b6fefa15ef651df9b657834a28bb0
# Parent 02d3a231b99e1eef922679f1381eecd0b9990d23
Clear bit in tm6000_devused when board is disconnected.
From: Kevin Wells <kevin.wells@kahusoft.com>
Priority: normal
Signed-off-by: Kevin Wells <kevin.wells@kahusoft.com>
diff -r 02d3a231b99e -r ca10a33f275b
linux/drivers/media/video/tm6000/tm6000-cards.c
--- a/linux/drivers/media/video/tm6000/tm6000-cards.c Sun Apr 05
10:45:44 2009 +1200
+++ b/linux/drivers/media/video/tm6000/tm6000-cards.c Sun Apr 05
10:57:01 2009 +1200
@@ -559,6 +559,8 @@
dev->state |= DEV_DISCONNECTED;
+ tm6000_devused &= ~(1 << dev->devno);
+
usb_put_dev(dev->udev);
mutex_unlock(&dev->lock);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-05 0:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-05 0:46 [PATCH 4/4] tm6000: Clear bit in tm6000_devused when board is disconnected Kevin Wells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox