Re: [PATCH] ASoC: codecs: dmic: Fix check of return value from read of 'num-channels'

2018-01-22 Thread Mark Brown
On Fri, Jan 19, 2018 at 03:36:50PM -0800, Matthias Kaehlcke wrote: > Commit 7fb59e940f62 ("ASoC: codecs: dmic: Make number of channels > configurable") introduces an optional property to the device tree > to specify the number of DMIC channels. dmic_codec_probe() uses Please submit patches using

Re: [PATCH] ASoC: codecs: dmic: Fix check of return value from read of 'num-channels'

2018-01-22 Thread Mark Brown
On Fri, Jan 19, 2018 at 03:36:50PM -0800, Matthias Kaehlcke wrote: > Commit 7fb59e940f62 ("ASoC: codecs: dmic: Make number of channels > configurable") introduces an optional property to the device tree > to specify the number of DMIC channels. dmic_codec_probe() uses Please submit patches using

[PATCH] ASoC: codecs: dmic: Fix check of return value from read of 'num-channels'

2018-01-19 Thread Matthias Kaehlcke
Commit 7fb59e940f62 ("ASoC: codecs: dmic: Make number of channels configurable") introduces an optional property to the device tree to specify the number of DMIC channels. dmic_codec_probe() uses of_property_read_u32() to read the DT value, and expects a return value of -ENOENT when the property

[PATCH] ASoC: codecs: dmic: Fix check of return value from read of 'num-channels'

2018-01-19 Thread Matthias Kaehlcke
Commit 7fb59e940f62 ("ASoC: codecs: dmic: Make number of channels configurable") introduces an optional property to the device tree to specify the number of DMIC channels. dmic_codec_probe() uses of_property_read_u32() to read the DT value, and expects a return value of -ENOENT when the property