Re: [PATCH 1/2] spi: spi-ti-qspi: Fix FLEN and WLEN settings if bits_per_word is overridden

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

 



On Tue, Apr 05, 2016 at 08:45:28PM +0100, Ben Hutchings wrote:

> +	frame_length = 0;
> +	list_for_each_entry(t, &m->transfers, transfer_list)
> +		frame_length += t->len / (t->bits_per_word >> 3);
> +	frame_length = min_t(unsigned int, frame_length, QSPI_FRAME);
>  

This doesn't seem obviously correct - what exactly is the frame length
here and why doesn't it change per transfer like the word length does?
There's nothing in the changelog about this.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux