Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1586925

Re: [PATCH v2 4/8] sound: soc: pxa: Suppress SND_MMP_SOC for arm64

From Andreas Färber <afaerber@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2 4/8] sound: soc: pxa: Suppress SND_MMP_SOC for arm64
Date 2017-02-23 15:50 +0100
Message-ID <te2St-2AJ-1@gated-at.bofh.it> (permalink)
References <tdv0u-2Z7-7@gated-at.bofh.it> <tdv0u-2Z7-13@gated-at.bofh.it> <tdK9c-5W6-27@gated-at.bofh.it> <te2pr-2oI-3@gated-at.bofh.it> <te2z7-2s9-3@gated-at.bofh.it>
Organization SUSE Linux GmbH

Show all headers | View raw


Am 23.02.2017 um 15:24 schrieb Takashi Iwai:
> On Thu, 23 Feb 2017 15:11:46 +0100,
> Andreas Färber wrote:
>> Am 22.02.2017 um 19:47 schrieb Mark Brown:
>>> Please use subject lines matching the style for the subsystem.  This
>>> makes it easier for people to identify relevant patches.
>>
>> Should I make it "ASoC: pxa: ..." then? SND_MMP_SOC selects SND_ARM,
>> which in sound/arm/Kconfig says 'Drivers that are implemented on ASoC
>> can be found in "ALSA for SoC audio support" section.', which confused
>> me about whether or not this is an ASoC compliant driver if it selects a
>> non-ASoC symbol.
> 
> It's a bug that selects SND_ARM there.  I guess this was wrongly taken
> from the old example of AC97 ARM SoC code, which was fixed later.
> ASoC stuff is basically irrelevant from the legacy sound/arm/*.

Thanks, Takashi-san. I'll update as follows then.

diff --git a/sound/soc/pxa/Kconfig b/sound/soc/pxa/Kconfig
index f8e1c06..aba7213 100644
--- a/sound/soc/pxa/Kconfig
+++ b/sound/soc/pxa/Kconfig
@@ -9,10 +9,9 @@ config SND_PXA2XX_SOC

 config SND_MMP_SOC
        bool "SoC Audio for Marvell MMP chips"
-       depends on ARCH_MMP && ARM
-       select MMP_SRAM
+       depends on ARCH_MMP || COMPILE_TEST
+       select MMP_SRAM if ARM
        select SND_SOC_GENERIC_DMAENGINE_PCM
-       select SND_ARM
        help
          Say Y if you want to add support for codecs attached to
          the MMP SSPA interface.

Okay to do that in one patch or break up into three?

Regards,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 4/8] sound: soc: pxa: Suppress SND_MMP_SOC for arm64 Andreas Färber <afaerber@suse.de> - 2017-02-22 03:40 +0100
  Re: [PATCH v2 4/8] sound: soc: pxa: Suppress SND_MMP_SOC for arm64 Mark Brown <broonie@kernel.org> - 2017-02-22 19:50 +0100
    Re: [PATCH v2 4/8] sound: soc: pxa: Suppress SND_MMP_SOC for arm64 Andreas Färber <afaerber@suse.de> - 2017-02-23 15:20 +0100
      Re: [PATCH v2 4/8] sound: soc: pxa: Suppress SND_MMP_SOC for arm64 Takashi Iwai <tiwai@suse.de> - 2017-02-23 15:30 +0100
        Re: [PATCH v2 4/8] sound: soc: pxa: Suppress SND_MMP_SOC for arm64 Andreas Färber <afaerber@suse.de> - 2017-02-23 15:50 +0100

csiph-web