mirror of
https://github.com/adulau/aha.git
synced 2025-01-02 14:13:18 +00:00
V4L/DVB (5733): Blackbird should accept only new cx2341x encoding firmwares
Remove temporary support for older 256 kB firmwares. ivtv, pvrusb2 and blackbird can now all handle the newer larger firmwares, so support for the older (buggier) firmware can be removed. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
a957641bba
commit
2547223732
1 changed files with 4 additions and 7 deletions
|
@ -56,8 +56,7 @@ MODULE_PARM_DESC(debug,"enable debug messages [blackbird]");
|
|||
|
||||
/* ------------------------------------------------------------------ */
|
||||
|
||||
#define OLD_BLACKBIRD_FIRM_IMAGE_SIZE 262144
|
||||
#define BLACKBIRD_FIRM_IMAGE_SIZE 376836
|
||||
#define BLACKBIRD_FIRM_IMAGE_SIZE 376836
|
||||
|
||||
/* defines below are from ivtv-driver.h */
|
||||
|
||||
|
@ -453,11 +452,9 @@ static int blackbird_load_firmware(struct cx8802_dev *dev)
|
|||
return -1;
|
||||
}
|
||||
|
||||
if ((firmware->size != BLACKBIRD_FIRM_IMAGE_SIZE) &&
|
||||
(firmware->size != OLD_BLACKBIRD_FIRM_IMAGE_SIZE)) {
|
||||
dprintk(0, "ERROR: Firmware size mismatch (have %zd, expected %d or %d)\n",
|
||||
firmware->size, BLACKBIRD_FIRM_IMAGE_SIZE,
|
||||
OLD_BLACKBIRD_FIRM_IMAGE_SIZE);
|
||||
if (firmware->size != BLACKBIRD_FIRM_IMAGE_SIZE) {
|
||||
dprintk(0, "ERROR: Firmware size mismatch (have %zd, expected %d)\n",
|
||||
firmware->size, BLACKBIRD_FIRM_IMAGE_SIZE);
|
||||
release_firmware(firmware);
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue