Re: [PATCH 1/3] spi: add xtfpga SPI controller driver

From: Max Filippov
Date: Tue Mar 11 2014 - 21:48:25 EST


On Wed, Mar 12, 2014 at 5:11 AM, Mark Brown <broonie@xxxxxxxxxx> wrote:
> On Wed, Mar 12, 2014 at 04:59:47AM +0400, Max Filippov wrote:
>
>> And tlv320aic23 has the following regmap:
>
>> const struct regmap_config tlv320aic23_regmap = {
>> .reg_bits = 7,
>> .val_bits = 9,
>
>> and its SPI interface accordingly does the following in .probe:
>
>> spi->bits_per_word = 16
>> spi->mode = SPI_MODE_0;
>> ret = spi_setup(spi);
>
> So I just looked again - the SPI code isn't in mainline, there must
> be some out of tree patches here that can't have been tested since the
> driver was converted to regmap (or the byte swapping you're doing in the
> controller is buggy for 16 bits per word).

I'm successfully running this driver with the patches in your ASoC tree
branch topic/tlv320aic23.

--
Thanks.
-- Max
--
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/