[PATCH 4/4] tm6000: Clear bit in tm6000_devused when board is disconnected.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# HG changeset patch
# User Kevin Wells <kevin.wells@xxxxxxxxxxxx>
# Date 1238885821 -43200
# Node ID ca10a33f275b6fefa15ef651df9b657834a28bb0
# Parent  02d3a231b99e1eef922679f1381eecd0b9990d23
Clear bit in tm6000_devused when board is disconnected.

From: Kevin Wells <kevin.wells@xxxxxxxxxxxx>

Priority: normal

Signed-off-by: Kevin Wells <kevin.wells@xxxxxxxxxxxx>

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);
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux