commit | cf8c91c3e77cc26c43cfe6fc47e649b685736259 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Dec 16 20:36:13 2008 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Dec 30 09:39:14 2008 -0200 |
tree | a23a6fd92f7a3422b14a63956e88a56337c0ca43 | |
parent | 29b59417c514a2c5291abb4e3a42e5245ffe6058 [diff] |
V4L/DVB (9911): em28xx: vidioc_try_fmt_vid_cap() doesn't need any lock vidioc_try_fmt_vid_cap() just checks if a given resolution is supported. It doesn't touch on struct em28xx device descriptor. so, there's no need to lock. While there, use unlikely() for those values that aren't likely to occur. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>