On 09/14/2015 11:57 PM, Mark Brown wrote:
> On Fri, Sep 04, 2015 at 02:00:00PM +0530, Vignesh R wrote:
> 
>> +    if (spi->master->spi_mtd_mmap_read) {
>> +            return  spi->master->spi_mtd_mmap_read(spi, from, len,
>> +                                                   retlen, buf,
>> +                                                   nor->read_opcode,
>> +                                                   nor->addr_width,
>> +                                                   dummy);
>> +    }
> 
> We should be calling some API provided by the SPI core here, not peering
> directly into the ops struture.
> 

Ok..
-- 
Regards
Vignesh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to