lkml.org 
[lkml]   [2020]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.10 313/717] ASoC: atmel: mchp-spdifrx needs COMMON_CLK
    Date
    From: Arnd Bergmann <arnd@arndb.de>

    [ Upstream commit 29275309b0e32bb838d67158c6b6e687275f43e9 ]

    Compile-testing this driver on an older platform without CONFIG_COMMON_CLK fails with

    ERROR: modpost: "clk_set_min_rate" [sound/soc/atmel/snd-soc-mchp-spdifrx.ko] undefined!

    Make this is a strict dependency.

    Fixes: ef265c55c1ac ("ASoC: mchp-spdifrx: add driver for SPDIF RX")
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
    Link: https://lore.kernel.org/r/20201203223815.1353451-1-arnd@kernel.org
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    sound/soc/atmel/Kconfig | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/sound/soc/atmel/Kconfig b/sound/soc/atmel/Kconfig
    index bd8854bfd2ee4..142373ec411ad 100644
    --- a/sound/soc/atmel/Kconfig
    +++ b/sound/soc/atmel/Kconfig
    @@ -148,6 +148,7 @@ config SND_MCHP_SOC_SPDIFTX
    config SND_MCHP_SOC_SPDIFRX
    tristate "Microchip ASoC driver for boards using S/PDIF RX"
    depends on OF && (ARCH_AT91 || COMPILE_TEST)
    + depends on COMMON_CLK
    select SND_SOC_GENERIC_DMAENGINE_PCM
    select REGMAP_MMIO
    help
    --
    2.27.0


    \
     
     \ /
      Last update: 2020-12-28 15:19    [W:4.031 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site