V4L/DVB (5212): Pvrusb2: Be more forgiving about encoder firmware size
authorMike Isely <isely@pobox.com>
Thu, 8 Feb 2007 05:02:53 +0000 (02:02 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:35:20 +0000 (13:35 -0200)
commit90060d32ca0a941b158994f78e60d0381871c84b
treea9a53401ee59fd2e14e57e50bc92e48ed98ca8e8
parent201779f5c4a4bd8503a38749dd371ecddb7928a5
V4L/DVB (5212): Pvrusb2: Be more forgiving about encoder firmware size

The pvrusb2 driver previously rejected encoder firmware whose size was
not a multiple of 8192.  But this is a false check because it's
possible to find cx23416 firmware whose size doesn't conform to this
limit.  So change the firmware loader implementation to be more
forgiving of the image size.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-hdw.c