Re: [PATCH V4] spi: s3c64xx: Enable Word transfer

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

 



Hi Mark Brown ,

On Wed, Oct 30, 2013 at 10:36 PM, Tomasz Figa <t.figa@xxxxxxxxxxx> wrote:
> On Wednesday 30 of October 2013 10:00:29 Mark Brown wrote:
>> On Wed, Oct 30, 2013 at 11:52:54AM +0530, Rajeshwari Birje wrote:
>>
>> > The following patch already sets bits_per_word_mask for
>> > drivers/spi/spi-s3c64xx.c in s3c64xx_spi_probe, hence I had a doubt do
>> > I need to set the same again.
>>
>> OK, so how did this work before then?  You're just adding new code but
>> the driver was previously claiming to support different bits per word
>> (and now I look at the code there is some handling for that in code).
>> Is this a bug fix?
No idea if it worked before, but now if I try to do 16 bit transfer
without my patch, I get following error.
"Xfer length(1) not a multiple of word size(2)"
I guess we can consider this as a bug fix then for word transfer.
>
> That's a good question. Rajeshwari, what SPI device did you test this
> patch with? Does it have a driver in mainline kernel?
@Tomasz: I tested it for W25Q32DW Winbond device which is already has
a driver in mainline Kernel
>
> Best regards,
> Tomasz
>
-- 
Regards,
Rajeshwari Shinde
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux