diff options
author | Devin Heitmueller <dheitmueller@kernellabs.com> | 2012-08-06 22:47:03 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-09 20:38:35 -0300 |
commit | a595c1ce4c9d572cf53513570b9f1a263d7867f2 (patch) | |
tree | 5d5250050642d88849bdcdc10422212875ce3335 /virt | |
parent | 4a03dafc7b0a347854bc0a8652ffa314150fd1e5 (diff) | |
download | blackbird-op-linux-a595c1ce4c9d572cf53513570b9f1a263d7867f2.tar.gz blackbird-op-linux-a595c1ce4c9d572cf53513570b9f1a263d7867f2.zip |
[media] au0828: fix case where STREAMOFF being called on stopped stream causes BUG()
We weren't checking whether the resource was in use before calling
res_free(), so applications which called STREAMOFF on a v4l2 device that
wasn't already streaming would cause a BUG() to be hit (MythTV).
Reported-by: Larry Finger <larry.finger@lwfinger.net>
Reported-by: Jay Harbeston <jharbestonus@gmail.com>
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions