04 Oct, 2016

2 commits

  • The newly added exynos lpass driver produces a build warning when
    CONFIG_PM is disabled since the only callers of exynos_lpass_disable
    are under an #ifdef:

    drivers/mfd/exynos-lpass.c:93:13: error: 'exynos_lpass_disable' defined but not used [-Werror=unused-function]
    static void exynos_lpass_disable(struct exynos_lpass *lpass)

    This removes the #ifdef and replaces it with __maybe_unused annotations
    so the compiler can leave out the unused code silently with less
    room for mistakes.

    Fixes: 36c26760bba8 ("mfd: Add Samsung Exynos Low Power Audio Subsystem driver")
    Signed-off-by: Arnd Bergmann
    Reviewed-by: Sylwester Nawrocki
    Signed-off-by: Lee Jones

    Arnd Bergmann
     
  • This patch adds common driver for the Top block of the Samsung Exynos
    SoC Low Power Audio Subsystem. This is a minimal driver which prepares
    resources for IP blocks like I2S, audio DMA and UART and exposes
    a regmap for the Top block registers. Also system power ops are added
    to ensure the Audio Subsystem is operational after system suspend/resume
    cycle.

    Signed-off-by: Inha Song
    Signed-off-by: Beomho Seo
    Signed-off-by: Sylwester Nawrocki
    Tested-by: Chanwoo Choi
    Signed-off-by: Lee Jones

    Sylwester Nawrocki