Signed-off-by: Mike Frysinger <vapier@gentoo.org>
@ -54,8 +54,8 @@ ssize_t spi_read (uchar *addr, int alen, uchar *buffer, int len)
return -1;
/*
* if alen == 3, addr[0] is the block number, we never use it here. All we
* need are the lower 16 bits
* if alen == 3, addr[0] is the block number, we never use it here.
* All we need are the lower 16 bits.
*/
if (alen == 3)
addr++;