[media] gspca - sn9c20x: Optimize the code of write sequences
authorJean-François Moine <moinejf@free.fr>
Mon, 19 Mar 2012 07:42:45 +0000 (04:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 20 Mar 2012 01:30:48 +0000 (22:30 -0300)
commitd4689b740424e8163eefebcd21368a8c6273a7a2
tree7de735c6d72c091ffbcd01363ef8e57dc330a495
parent4c632e4e51e5d89af75ecf3e958988658c01294f
[media] gspca - sn9c20x: Optimize the code of write sequences

The new functions i2c_w1_buf() and i2c_w2_buf() handle the write loops.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sn9c20x.c