Re: [PATCH v4 1/7] dma: cppi41: handle 0-length packets

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

 



On Mon, May 26, 2014 at 02:52:34PM +0200, Daniel Mack wrote:
> When a 0-length packet is received on the bus, desc->pd0 yields 1,
> which confuses the driver's users. This information is clearly wrong
> and not in accordance to the datasheet, but it's been observed on an
> AM335x board, very reproducible.
> 
> Fix this by looking at bit 19 in PD2 of the completed packet. This bit
> will tell us if a zero-length packet was received on a queue. If it's
> set, ignore the value in PD0 and report a total length of 0 instead.

Applied this one, Thanks

-- 
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux