lkml.org 
[lkml]   [2022]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.17 165/772] ASoC: rt1015p: remove dependency on GPIOLIB
    Date
    From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>

    [ Upstream commit b390c25c6757b9d56cecdfbf6d55f15fc89a6386 ]

    commit dcc2c012c7691 ("ASoC: Fix gpiolib dependencies") removed a
    series of unnecessary dependencies on GPIOLIB when the gpio was
    optional.

    A similar simplification seems valid for rt1015p, so remove the
    dependency as well. This will avoid the following warning

    WARNING: unmet direct dependencies detected for SND_SOC_RT1015P

    Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] &&
    GPIOLIB [=n]

    Selected by [y]:

    - SND_SOC_INTEL_SOF_RT5682_MACH [=y] && SOUND [=y] && !UML && SND
    [=y] && SND_SOC [=y] && SND_SOC_INTEL_MACH [=y] &&
    (SND_SOC_SOF_HDA_LINK [=y] || SND_SOC_SOF_BAYTRAIL [=n]) && I2C
    [=y] && ACPI [=y] && (SND_HDA_CODEC_HDMI [=y] &&
    SND_SOC_SOF_HDA_AUDIO_CODEC [=y] && (MFD_INTEL_LPSS [=y] ||
    COMPILE_TEST [=y]) || SND_SOC_SOF_BAYTRAIL [=n] &&
    (X86_INTEL_LPSS [=n] || COMPILE_TEST [=y]))

    Reported-by: kernel test robot <yujie.liu@intel.com>
    Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Link: https://lore.kernel.org/r/20220517172647.468244-3-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    sound/soc/codecs/Kconfig | 1 -
    1 file changed, 1 deletion(-)

    diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
    index a8c6c2bfd5a7..3496403004ac 100644
    --- a/sound/soc/codecs/Kconfig
    +++ b/sound/soc/codecs/Kconfig
    @@ -1202,7 +1202,6 @@ config SND_SOC_RT1015

    config SND_SOC_RT1015P
    tristate
    - depends on GPIOLIB

    config SND_SOC_RT1019
    tristate
    --
    2.35.1


    \
     
     \ /
      Last update: 2022-06-07 22:47    [W:4.079 / U:0.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site