Commit:     af3420b4495914a1a889ae7de0220c793461ba1f
Parent:     a04036a3129e09a9b9097de2b1f77dd82a6e9ac3
Author:     Hans Verkuil <[EMAIL PROTECTED]>
AuthorDate: Fri Oct 12 06:18:30 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Mon Oct 22 12:01:44 2007 -0200

    V4L/DVB (6338): ivtv: fix incorrect EBUSY return
    Trying to open the radio when a capture is in progress will make it
    impossible to open the radio again since the radio stream wasn't released.
    Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
 drivers/media/video/ivtv/ivtv-fileops.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/media/video/ivtv/ivtv-fileops.c 
index 0e0605c..24fcbb8 100644
--- a/drivers/media/video/ivtv/ivtv-fileops.c
+++ b/drivers/media/video/ivtv/ivtv-fileops.c
@@ -892,6 +892,7 @@ static int ivtv_serialized_open(struct ivtv_stream *s, 
struct file *filp)
                        if (atomic_read(&itv->capturing) > 0) {
                                /* switching to radio while capture is
                                   in progress is not polite */
+                               ivtv_release_stream(s);
                                return -EBUSY;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to