]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (5392): Zr364xx: Use kernel's byte-swapping function
authorTrent Piepho <xyzzy@speakeasy.org>
Wed, 7 Mar 2007 21:19:49 +0000 (18:19 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:44:19 +0000 (15:44 -0300)
commit60ce57081010e914ea409c6c9ae4928e21e80213
treea326288f20ee3815f50c1e590c3f149a5dc83cbb
parentc6a718f8953ff32c2e1b4722f9734acc995ad85a
V4L/DVB (5392): Zr364xx: Use kernel's byte-swapping function

Some code to swap bytes wasn't using the swab16() function that the
kernel provides for this.  Make use of it, which results in more
efficient code.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: Antoine Jacquet <royale@zerezo.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/zr364xx.c