Increase performance with compiler instructions
commit3dd0be4ecd1fa84eb337cc0686ef27354d0cba87
authorJosua Grawitter <grewater@googlemail.com>
Wed, 11 Mar 2009 14:46:56 +0000 (11 15:46 +0100)
committerJosua Grawitter <grewater@googlemail.com>
Wed, 11 Mar 2009 14:59:42 +0000 (11 15:59 +0100)
tree18b317c609f3b927f651553fde1f9081e2416efa
parentf73e22d4c3f7faf44168820293187fc96aaff353
Increase performance with compiler instructions

The '(un)likely' is used to increase performance
in some of our most used functions.

All changes are based on the assumption that usb_ctl
transfers are always successful. If they are not the
driver stops in most cases anyway. Performance often
ceases to be an issue if video output is disabled.

Signed-off-by: Josua Grawitter <grewater@googlemail.com>
omnivision.c
sn9c20x-bridge.c
sn9c20x-usb.c
sn9c20x-v4l2.c