mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
V4L/DVB (5729): Remove support for 256 Kb firmware files.
For backwards compatibility firmware files of 256 Kb were allowed: all drivers have now been updated to support the newer larger firmwares so remove this compatibility code and only support the newer firmware. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
74fa39e590
commit
a957641bba
1 changed files with 1 additions and 3 deletions
|
@ -56,9 +56,7 @@ retry:
|
||||||
volatile u32 __iomem *dst = (volatile u32 __iomem *)mem;
|
volatile u32 __iomem *dst = (volatile u32 __iomem *)mem;
|
||||||
const u32 *src = (const u32 *)fw->data;
|
const u32 *src = (const u32 *)fw->data;
|
||||||
|
|
||||||
/* temporarily allow 256 KB encoding firmwares as well for
|
if (fw->size != size) {
|
||||||
compatibility with blackbird cards */
|
|
||||||
if (fw->size != size && fw->size != 256 * 1024) {
|
|
||||||
/* Due to race conditions in firmware loading (esp. with udev <0.95)
|
/* Due to race conditions in firmware loading (esp. with udev <0.95)
|
||||||
the wrong file was sometimes loaded. So we check filesizes to
|
the wrong file was sometimes loaded. So we check filesizes to
|
||||||
see if at least the right-sized file was loaded. If not, then we
|
see if at least the right-sized file was loaded. If not, then we
|
||||||
|
|
Loading…
Reference in a new issue