Re: [U-Boot] [PATCH V4 1/4] dm: spi: soft_spi bug fix

2016-05-07 Thread Simon Glass
On 2 May 2016 at 19:59, Peng Fan wrote: > When doing xfer, should use device->parent, but not device > When doing bit xfer, should use "!!(tmpdout & 0x80)", but not > "(tmpdout & 0x80)" > > Signed-off-by: Peng Fan > Cc: Simon Glass > Cc: Jagan Teki > Reviewed-by: Simon Glass > --- > > V4: > N

[U-Boot] [PATCH V4 1/4] dm: spi: soft_spi bug fix

2016-05-02 Thread Peng Fan
When doing xfer, should use device->parent, but not device When doing bit xfer, should use "!!(tmpdout & 0x80)", but not "(tmpdout & 0x80)" Signed-off-by: Peng Fan Cc: Simon Glass Cc: Jagan Teki Reviewed-by: Simon Glass --- V4: None V3: None V2: Follow Simon's comments, split bug fix int

[U-Boot] [PATCH V4 1/4] dm: spi: soft_spi bug fix

2016-05-02 Thread Peng Fan
When doing xfer, should use device->parent, but not device When doing bit xfer, should use "!!(tmpdout & 0x80)", but not "(tmpdout & 0x80)" Signed-off-by: Peng Fan Cc: Simon Glass Cc: Jagan Teki Reviewed-by: Simon Glass --- V4: None V3: None V2: Follow Simon's comments, split bug fix int