From: Borislav Petkov Subject: Re: [PATCH] ASoC: sunxi: rename SND_SUN8I_ADDA_PR_REGMAP Date: Thu, 22 Nov 2018 22:29:05 +0100 Message-ID: <20181122212905.GA13187@zn.tnic> References: <20181102153406.1528053-1-arnd@arndb.de> <13542843.KjxkD9786N@anarsoul-thinkpad> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Vasily Khoruzhick Cc: Arnd Bergmann , Jaroslav Kysela , Takashi Iwai , Liam Girdwood , Mark Brown , Maxime Ripard , Chen-Yu Tsai , Linux-ALSA , arm-linux , linux-kernel List-Id: alsa-devel@alsa-project.org On Fri, Nov 02, 2018 at 03:06:59PM -0700, Vasily Khoruzhick wrote: > On Fri, Nov 2, 2018 at 3:04 PM Arnd Bergmann wrote: > > > > On 11/2/18, Vasily Khoruzhick wrote: > > > On Friday, November 2, 2018 8:33:40 AM PDT Arnd Bergmann wrote: > > >> The newly added SND_SUN50I_CODEC_ANALOG driver selects a nonexisting > > >> symbol SND_SUNXI_ADDA_PR_REGMAP, which was evidently intended to replace > > >> SND_SUN8I_ADDA_PR_REGMAP, but since they are now mismatched, we can run > > >> into link errors for some configurations: > > >> > > >> sound/soc/sunxi/sun50i-codec-analog.o: In function > > >> `sun50i_codec_analog_probe': sun50i-codec-analog.c:(.text+0x62): > > >> undefined > > >> reference to `sun8i_adda_pr_regmap_init' > > >> > > >> The new name appears to be more sensible, and as the symbol is hidden, > > >> there are no downsides in the rename, so use that consistently now. > > > > > > Maxime asked it to be SND_SUN8I_ADDA_PR_REGMAP, and also it would be easier > > > to > > > fix it my renaming last remaining SND_SUNXI_ADDA_PR_REGMAP to > > > SND_SUN8I_ADDA_PR_REGMAP. > > > > Sure, I don't care either way. Please send a patch to do that then. > > Will do tonight. Is that patch coming up or on its way somewhere? I still hit randconfig build failures: ERROR: "sun8i_adda_pr_regmap_init" [sound/soc/sunxi/sun50i-codec-analog.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.