Re: mc13xxx-core: kernel hangs after 'regmap_read'

From: Mark Brown
Date: Wed May 23 2012 - 04:49:49 EST


On Tue, May 22, 2012 at 11:05:35PM -0300, Fabio Estevam wrote:

> Should the spi->mode and spi->bits_per_word be passed differently?

> Maybe via "struct regmap_config" ?

You shouldn't be setting bits_per_word at all, that'll corrupt the data
that regmap has formatted. Does removing that alone resolve the issue?

Attachment: signature.asc
Description: Digital signature