tda10048.c (e98bdb3059cbf2b1cd4261e126b08429f64466c3) tda10048.c (5b5e0928f742cfa853b2411400a1b19fa379d758)
1/*
2 NXP TDA10048HN DVB OFDM demodulator driver
3
4 Copyright (C) 2009 Steven Toth <stoth@kernellabs.com>
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or

--- 485 unchanged lines hidden (view full) ---

494
495 ret = request_firmware(&fw, TDA10048_DEFAULT_FIRMWARE,
496 state->i2c->dev.parent);
497 if (ret) {
498 printk(KERN_ERR "%s: Upload failed. (file not found?)\n",
499 __func__);
500 return -EIO;
501 } else {
1/*
2 NXP TDA10048HN DVB OFDM demodulator driver
3
4 Copyright (C) 2009 Steven Toth <stoth@kernellabs.com>
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or

--- 485 unchanged lines hidden (view full) ---

494
495 ret = request_firmware(&fw, TDA10048_DEFAULT_FIRMWARE,
496 state->i2c->dev.parent);
497 if (ret) {
498 printk(KERN_ERR "%s: Upload failed. (file not found?)\n",
499 __func__);
500 return -EIO;
501 } else {
502 printk(KERN_INFO "%s: firmware read %Zu bytes.\n",
502 printk(KERN_INFO "%s: firmware read %zu bytes.\n",
503 __func__,
504 fw->size);
505 ret = 0;
506 }
507
508 if (fw->size != TDA10048_DEFAULT_FIRMWARE_SIZE) {
509 printk(KERN_ERR "%s: firmware incorrect size\n", __func__);
510 ret = -EIO;

--- 677 unchanged lines hidden ---
503 __func__,
504 fw->size);
505 ret = 0;
506 }
507
508 if (fw->size != TDA10048_DEFAULT_FIRMWARE_SIZE) {
509 printk(KERN_ERR "%s: firmware incorrect size\n", __func__);
510 ret = -EIO;

--- 677 unchanged lines hidden ---