Re: Fw: USB: core: WARN if pipe direction != setup packet direction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Once again, please always send these emails to the mailing list as well 
as to me.  If this means sending from your gmail address instead of the 
hotmail address, so be it.

On Sat, May 29, 2021 at 09:56:05PM +0300, Eero wrote:
> Hi,
> 
> The patch removed the warning, but the usb dvb-t stick does not work
> because of looping messages in dmesg:
> [  418.485387] mxl5005s I2C write failed
> [  418.658410] mxl5005s I2C write failed
> 
> Those messages come from:
> 
> linux-next-next-20210528/drivers/media/tuners/mxl5005s.c
> 
> static int mxl5005s_writereg(struct dvb_frontend *fe, u8 reg, u8 val,
> int latch) {
> 	struct mxl5005s_state *state = fe->tuner_priv;
> 	u8 buf[3] = { reg, val, MXL5005S_LATCH_BYTE };
> 	struct i2c_msg msg = { .addr = state->config->i2c_address,
> .flags = 0, .buf = buf, .len = 3 };
> 
> 	if (latch == 0)
> 		msg.len = 2;
> 
> 	dprintk(2, "%s(0x%x, 0x%x, 0x%x)\n", __func__, reg, val,
> 	msg.addr);
> 
> 	if (i2c_transfer(state->i2c, &msg, 1) != 1) {
> 		printk(KERN_WARNING "mxl5005s I2C write failed\n");
> 		return -EREMOTEIO;
> 	}
> 	return 0;
> }

This is a completely different error.  It should be reported to the 
maintainers of the media drivers (CC'ed).

Does the same problem occur if you don't apply Johan's rtl28xxu patch 
and you revert commit 5cc59c418fde from 5.13.rc3-next?

Alan Stern



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux