Messages in this thread | | | Date | Thu, 1 Aug 2013 10:42:25 +0100 | From | Mark Brown <> | Subject | Re: [PATCH v2] ASoC: Add PCM1681 codec driver. |
| |
On Thu, Aug 01, 2013 at 11:14:58AM +0200, Marek Belisko wrote: > PCM1681 can be controlled via I2C, SPI or in bootstrap mode (no control mode). This code add > support only for I2C mode.
Applied, thanks. One thing:
> + if (val != -1) { > + regmap_update_bits(priv->regmap, PCM1681_DEEMPH_CONTROL, > + PCM1681_DEEMPH_RATE_MASK, val); > + enable = 1; > + } else > + enable = 0;
The style is to have braces on both sides of the else if it's one one. [unhandled content-type:application/pgp-signature] | |