diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-09-09 15:04:05 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-14 00:53:10 +0400 |
commit | 36adfca94a354b10b4e36684a45e830f6817b067 (patch) | |
tree | bc4d31761f9203b76a9d0ea944f61ed2d5d9aa4b /crypto | |
parent | 844db450e6e2cf710752af1a019a877af390b541 (diff) | |
download | linux-36adfca94a354b10b4e36684a45e830f6817b067.tar.xz |
[media] gspca: Fix input urb creation / destruction surrounding suspend resume
1) We always re-create the input-urb on resume, so we must also always
destroy it on suspend to avoid leaking it
2) If we're going to do an init_transfer, then that will destroy the urb
before starting the stream (nop if there is none), and (re-)create it
once the stream is started. So there is little use in creating it, if
we're going to do an init_transfer immediately afterward
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions