Re: [PATCH 1/11] MFD: DA9052 MFD core module v8

From: Mark Brown
Date: Wed Oct 19 2011 - 18:38:35 EST


On Wed, Oct 19, 2011 at 07:39:16PM +0530, Ashish Jangam wrote:

> +static struct regmap_config da9052_regmap_config = {
> + .reg_bits = 8,
> + .val_bits = 8,
> +};
> +
> +static int da9052_spi_probe(struct spi_device *spi)

So, as I think I mentioned last time based on the previous non-regmap
versions of the patch I don't expect this to work at all. You should
use the read_mask and/or write_mask options to set the flag bits you
need to indicated if this is a read or write.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/