
18 Nov
2016
18 Nov
'16
2:15 a.m.
On 16 November 2016 at 09:37, Michal Simek michal.simek@xilinx.com wrote:
Current get_desc() implementation is not able to succesfully finish and return pointer to block device descriptor.
Also function always return non zero value even device is found.
The patch fills block device descriptor and return 0 if device is found.
Signed-off-by: Michal Simek michal.simek@xilinx.com
I have tested it with blk scsi which I am reworking after first RFC. With this patch I can run scsi part, scsi info, scsi read (I didn't test write not to break my HDD).
drivers/block/blk-uclass.c | 2 ++ 1 file changed, 2 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org