RE: [PATCH v5 01/16] spi/spi-atmel: fix master->num_chipselectwrongly set.

From: Yang, Wenyou
Date: Thu Mar 07 2013 - 19:59:59 EST


> -----Original Message-----
> From: Grant Likely [mailto:glikely@xxxxxxxxxxxx] On Behalf Of Grant Likely
> Sent: 2013年3月3日 7:16
> To: Yang, Wenyou; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> Cc: Ferre, Nicolas; plagnioj@xxxxxxxxxxxx; richard.genoud@xxxxxxxxx; Lin, JM;
> Yang, Wenyou; spi-devel-general@xxxxxxxxxxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH v5 01/16] spi/spi-atmel: fix master->num_chipselect
> wrongly set.
>
> On Tue, 26 Feb 2013 14:47:54 +0800, Wenyou Yang <wenyou.yang@xxxxxxxxx>
> wrote:
> > if the spi property "cs-gpios" is set as below:
> >
> > cs-gpios = <0>, <&pioC 11 0>, <0>, <0>;
> >
> > the master->num_chipselect will wrongly be set to 0,
> > and the spi fail to probe.
> >
> > Signed-off-by: Wenyou Yang <wenyou.yang@xxxxxxxxx>
> > Cc: spi-devel-general@xxxxxxxxxxxxxxxxxxxxx
> > Cc: linux-kernel@xxxxxxxxxxxxxxx
>
> I think I've got this bug fixed in the core spi code. Give it a couple
> of days and retest with linux-next.
Hi Grant,

Yes, in v3.9-rc1 this bug fixed, I retested on v3.9-rc1.
But on "spi/next" git tree, it should to apply this patch.

I sent the patches version 6, could you take a look them?
Thanks a lot for your work.

>
> g.

Best Regards,
Wenyou Yang
N?叉??y??b??千v??藓{.n???{?赙zXФ?塄}?财??j:+v???赙zZ+€?zf"?????i????ア??璀??撷f?^j谦y??@A?囤?0鹅h??i