Re: [alsa-devel] [PATCH 1/2] ASoC: codec: wm9860: avoid maybe-uninitialized warning

2017-04-25 Thread Daniel Baluta
On Mon, Apr 24, 2017 at 6:27 PM, Arnd Bergmann wrote: > On Mon, Apr 24, 2017 at 3:15 PM, Daniel Baluta > wrote: >> On Fri, Apr 21, 2017 at 5:46 PM, Arnd Bergmann wrote: >>> On Fri, Apr 21, 2017 at 3:07 PM, Daniel Baluta

Re: [alsa-devel] [PATCH 1/2] ASoC: codec: wm9860: avoid maybe-uninitialized warning

2017-04-25 Thread Daniel Baluta
On Mon, Apr 24, 2017 at 6:27 PM, Arnd Bergmann wrote: > On Mon, Apr 24, 2017 at 3:15 PM, Daniel Baluta > wrote: >> On Fri, Apr 21, 2017 at 5:46 PM, Arnd Bergmann wrote: >>> On Fri, Apr 21, 2017 at 3:07 PM, Daniel Baluta >>> wrote: The new PLL configuration code triggers a harmless

Re: [alsa-devel] [PATCH 1/2] ASoC: codec: wm9860: avoid maybe-uninitialized warning

2017-04-24 Thread Arnd Bergmann
On Mon, Apr 24, 2017 at 3:15 PM, Daniel Baluta wrote: > On Fri, Apr 21, 2017 at 5:46 PM, Arnd Bergmann wrote: >> On Fri, Apr 21, 2017 at 3:07 PM, Daniel Baluta wrote: >>> The new PLL configuration code triggers a harmless warning:

Re: [alsa-devel] [PATCH 1/2] ASoC: codec: wm9860: avoid maybe-uninitialized warning

2017-04-24 Thread Arnd Bergmann
On Mon, Apr 24, 2017 at 3:15 PM, Daniel Baluta wrote: > On Fri, Apr 21, 2017 at 5:46 PM, Arnd Bergmann wrote: >> On Fri, Apr 21, 2017 at 3:07 PM, Daniel Baluta wrote: >>> The new PLL configuration code triggers a harmless warning: >>> >>> sound/soc/codecs/wm8960.c: In function

Re: [alsa-devel] [PATCH 1/2] ASoC: codec: wm9860: avoid maybe-uninitialized warning

2017-04-24 Thread Daniel Baluta
On Fri, Apr 21, 2017 at 5:46 PM, Arnd Bergmann wrote: > On Fri, Apr 21, 2017 at 3:07 PM, Daniel Baluta wrote: >> The new PLL configuration code triggers a harmless warning: >> >> sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': >>

Re: [alsa-devel] [PATCH 1/2] ASoC: codec: wm9860: avoid maybe-uninitialized warning

2017-04-24 Thread Daniel Baluta
On Fri, Apr 21, 2017 at 5:46 PM, Arnd Bergmann wrote: > On Fri, Apr 21, 2017 at 3:07 PM, Daniel Baluta wrote: >> The new PLL configuration code triggers a harmless warning: >> >> sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': >> sound/soc/codecs/wm8960.c:735:3: error:

Re: [PATCH 1/2] ASoC: codec: wm9860: avoid maybe-uninitialized warning

2017-04-21 Thread Arnd Bergmann
On Fri, Apr 21, 2017 at 3:07 PM, Daniel Baluta wrote: > The new PLL configuration code triggers a harmless warning: > > sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': > sound/soc/codecs/wm8960.c:735:3: error: 'best_freq_out' may be used > uninitialized

Re: [PATCH 1/2] ASoC: codec: wm9860: avoid maybe-uninitialized warning

2017-04-21 Thread Arnd Bergmann
On Fri, Apr 21, 2017 at 3:07 PM, Daniel Baluta wrote: > The new PLL configuration code triggers a harmless warning: > > sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': > sound/soc/codecs/wm8960.c:735:3: error: 'best_freq_out' may be used > uninitialized in this function

[PATCH 1/2] ASoC: codec: wm9860: avoid maybe-uninitialized warning

2017-04-21 Thread Daniel Baluta
The new PLL configuration code triggers a harmless warning: sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': sound/soc/codecs/wm8960.c:735:3: error: 'best_freq_out' may be used uninitialized in this function [-Werror=maybe-uninitialized] wm8960_set_pll(codec, freq_in,

[PATCH 1/2] ASoC: codec: wm9860: avoid maybe-uninitialized warning

2017-04-21 Thread Daniel Baluta
The new PLL configuration code triggers a harmless warning: sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': sound/soc/codecs/wm8960.c:735:3: error: 'best_freq_out' may be used uninitialized in this function [-Werror=maybe-uninitialized] wm8960_set_pll(codec, freq_in,