Hi Pratyush, p.yadav@xxxxxx wrote on Wed, 22 Dec 2021 14:01:52 +0530: > On 22/12/21 09:12AM, Miquel Raynal wrote: > > Hi Pratyush, > > > > p.yadav@xxxxxx wrote on Wed, 22 Dec 2021 00:11:50 +0530: > > > > > Hi, > > > > > > On 21/12/21 06:48PM, Miquel Raynal wrote: > > > > From: Pratyush Yadav <p.yadav@xxxxxx> > > > > > > > > In 8D-8D-8D mode two bytes are transferred per cycle. So an odd number > > > > of bytes cannot be transferred because it would leave a residual half > > > > cycle at the end. Consider such a transfer invalid and reject it. > > > > > > > > Signed-off-by: Pratyush Yadav <p.yadav@xxxxxx> > > > > Reviewed-by: Mark Brown <broonie@xxxxxxxxxx> > > > > Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> > > > > > > Sorry, I didn't realize this before. This patch would break a couple of > > > SPI NOR flashes. You need patch 1, 2, and 3 from my series as well to > > > make sure this does not happen. Since those patches have some pending > > > comments, can you just drop this patch and I will re-roll it on top of > > > your series later when I can find some time for it? Again, sorry for not > > > noticing this before. > > > > Yes no problem, I might as well drop it when applying. > > And drop the changes from patch 3 as well. Yes of course, I'll keep the "cmd.nbytes != 2" check as it was to keep the behavior exactly as it was, and on top of that we can fine tune these checks. Thanks, Miquèl