From: Kevin Wells <wells_kevin@yahoo.co.nz>
To: Steven Toth <stoth@linuxtv.org>
Cc: linux-media@vger.kernel.org
Subject: [PATCH 4/4] tm6000: Clear bit in tm6000_devused when board is disconnected.
Date: Sun, 05 Apr 2009 12:46:17 +1200 [thread overview]
Message-ID: <49D7FF59.1000806@yahoo.co.nz> (raw)
# 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);
reply other threads:[~2009-04-05 0:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49D7FF59.1000806@yahoo.co.nz \
--to=wells_kevin@yahoo.co.nz \
--cc=linux-media@vger.kernel.org \
--cc=stoth@linuxtv.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox