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

2017-05-15 Thread Arnd Bergmann
On Sun, May 14, 2017 at 12:05 PM, Mark Brown wrote: > On Wed, Apr 19, 2017 at 07:04:20PM +0200, Arnd Bergmann wrote: >> The new PLL configuration code triggers a harmless warning: > > This doens't apply against current code, please check and resend. I can confirm that you

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

2017-05-15 Thread Arnd Bergmann
On Sun, May 14, 2017 at 12:05 PM, Mark Brown wrote: > On Wed, Apr 19, 2017 at 07:04:20PM +0200, Arnd Bergmann wrote: >> The new PLL configuration code triggers a harmless warning: > > This doens't apply against current code, please check and resend. I can confirm that you have already merged

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

2017-05-15 Thread Mark Brown
On Wed, Apr 19, 2017 at 07:04:20PM +0200, Arnd Bergmann wrote: > The new PLL configuration code triggers a harmless warning: This doens't apply against current code, please check and resend. signature.asc Description: PGP signature

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

2017-05-15 Thread Mark Brown
On Wed, Apr 19, 2017 at 07:04:20PM +0200, Arnd Bergmann wrote: > The new PLL configuration code triggers a harmless warning: This doens't apply against current code, please check and resend. signature.asc Description: PGP signature

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

2017-04-20 Thread Mark Brown
On Thu, Apr 20, 2017 at 09:44:28AM +0200, Arnd Bergmann wrote: > On Thu, Apr 20, 2017 at 8:48 AM, Daniel Baluta > wrote: > > On Wed, Apr 19, 2017 at 8:04 PM, Arnd Bergmann wrote: > > gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) > I'm using

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

2017-04-20 Thread Mark Brown
On Thu, Apr 20, 2017 at 09:44:28AM +0200, Arnd Bergmann wrote: > On Thu, Apr 20, 2017 at 8:48 AM, Daniel Baluta > wrote: > > On Wed, Apr 19, 2017 at 8:04 PM, Arnd Bergmann wrote: > > gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) > I'm using gcc-7.0.1 here, which overall has better

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

2017-04-20 Thread Charles Keepax
On Wed, Apr 19, 2017 at 07:04:20PM +0200, Arnd Bergmann 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

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

2017-04-20 Thread Charles Keepax
On Wed, Apr 19, 2017 at 07:04:20PM +0200, Arnd Bergmann 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

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

2017-04-20 Thread Daniel Baluta
On Thu, Apr 20, 2017 at 10:44 AM, Arnd Bergmann wrote: > On Thu, Apr 20, 2017 at 8:48 AM, Daniel Baluta > wrote: >> Hi Arnd, >> >> On Wed, Apr 19, 2017 at 8:04 PM, Arnd Bergmann wrote: >>> The new PLL configuration code triggers a harmless

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

2017-04-20 Thread Daniel Baluta
On Thu, Apr 20, 2017 at 10:44 AM, Arnd Bergmann wrote: > On Thu, Apr 20, 2017 at 8:48 AM, Daniel Baluta > wrote: >> Hi Arnd, >> >> On Wed, Apr 19, 2017 at 8:04 PM, Arnd Bergmann wrote: >>> The new PLL configuration code triggers a harmless warning: >>> >>> sound/soc/codecs/wm8960.c: In

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

2017-04-20 Thread Arnd Bergmann
On Thu, Apr 20, 2017 at 8:48 AM, Daniel Baluta wrote: > Hi Arnd, > > On Wed, Apr 19, 2017 at 8:04 PM, Arnd Bergmann wrote: >> The new PLL configuration code triggers a harmless warning: >> >> sound/soc/codecs/wm8960.c: In function

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

2017-04-20 Thread Arnd Bergmann
On Thu, Apr 20, 2017 at 8:48 AM, Daniel Baluta wrote: > Hi Arnd, > > On Wed, Apr 19, 2017 at 8:04 PM, Arnd Bergmann 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:

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

2017-04-20 Thread Daniel Baluta
Hi Arnd, On Wed, Apr 19, 2017 at 8:04 PM, Arnd Bergmann 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 >

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

2017-04-20 Thread Daniel Baluta
Hi Arnd, On Wed, Apr 19, 2017 at 8:04 PM, Arnd Bergmann 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

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

2017-04-19 Thread Arnd Bergmann
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] ASoC: codec: wm9860: avoid maybe-uninitialized warning

2017-04-19 Thread Arnd Bergmann
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,