Skip to content

Commit 303990b

Browse files
Mauro Carvalho Chehabgregkh
authored andcommitted
em28xx: regression fix: use DRX-K sync firmware requests on em28xx
commit 2425bb3 upstream. As em28xx-dvb will always be initialized asynchronously, there's no need anymore for a separate thread to load the DRX-K firmware. Fixes a known regression with kernel 3.6 with tda18271 driver and asynchronous DRX-K firmware load. Antti tested it with the following hardware: Hauppauge WinTV HVR 930C MaxMedia UB425-TC PCTV QuatroStick nano (520e) Tested-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent b3ab8b3 commit 303990b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/media/video/em28xx/em28xx-dvb.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ static struct drxk_config terratec_h5_drxk = {
316316
.no_i2c_bridge = 1,
317317
.microcode_name = "dvb-usb-terratec-h5-drxk.fw",
318318
.qam_demod_parameter_count = 2,
319+
.load_firmware_sync = true,
319320
};
320321

321322
static struct drxk_config hauppauge_930c_drxk = {
@@ -325,6 +326,7 @@ static struct drxk_config hauppauge_930c_drxk = {
325326
.microcode_name = "dvb-usb-hauppauge-hvr930c-drxk.fw",
326327
.chunk_size = 56,
327328
.qam_demod_parameter_count = 2,
329+
.load_firmware_sync = true,
328330
};
329331

330332
struct drxk_config terratec_htc_stick_drxk = {
@@ -338,12 +340,14 @@ struct drxk_config terratec_htc_stick_drxk = {
338340
.antenna_dvbt = true,
339341
/* The windows driver uses the same. This will disable LNA. */
340342
.antenna_gpio = 0x6,
343+
.load_firmware_sync = true,
341344
};
342345

343346
static struct drxk_config maxmedia_ub425_tc_drxk = {
344347
.adr = 0x29,
345348
.single_master = 1,
346349
.no_i2c_bridge = 1,
350+
.load_firmware_sync = true,
347351
};
348352

349353
static struct drxk_config pctv_520e_drxk = {
@@ -354,6 +358,7 @@ static struct drxk_config pctv_520e_drxk = {
354358
.chunk_size = 58,
355359
.antenna_dvbt = true, /* disable LNA */
356360
.antenna_gpio = (1 << 2), /* disable LNA */
361+
.load_firmware_sync = true,
357362
};
358363

359364
static int drxk_gate_ctrl(struct dvb_frontend *fe, int enable)

0 commit comments

Comments
 (0)