Re: [PATCH v2 4/5] regmap: regmap_raw_read return error on !bus->read

From: Mark Brown
Date: Thu Aug 20 2015 - 14:30:19 EST


On Thu, Aug 20, 2015 at 11:12:35AM +0200, Markus Pargmann wrote:
> Return -ENOTSUPP if map->bus->read is not implemented and we do not use
> the cache. This code path would directly use bus->read would run into an
> NULL pointer for the read function.

Please put fixes like this before coding style changes like patch 3.

Attachment: signature.asc
Description: Digital signature