ASoC: ak4613: don't have .use_pmdown_time
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 14 Feb 2018 03:01:24 +0000 (03:01 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 14 Feb 2018 11:31:12 +0000 (11:31 +0000)
snd_soc_runtime_ignore_pmdown_time() returns "ignore pmdown time"
decision. Then, it collects each component driver's .use_pmdown_time
settings by using AND operation.
But, ak4613 has no reason to ignore/use pmdown time.
Thus, It should has use_pmdown_time=0, it means it doesn't have
decision right of "ignore pmdown time".

Otherwise, ak4613 paired driver's pmdown_time settings doesn't
have meaning. In other words, "ignore pmdown time" is determined
irrespective of the value of paired driver's settings
(= ignore will be 0 by ak4613).

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ak4613.c

index a7b1e3a1ec58996a17c9fff6146766fd8d7de8d3..8523ff9351cf59a61bcf48517fc7cc08484fdbec 100644 (file)
@@ -610,7 +610,6 @@ static const struct snd_soc_component_driver soc_component_dev_ak4613 = {
        .dapm_routes            = ak4613_intercon,
        .num_dapm_routes        = ARRAY_SIZE(ak4613_intercon),
        .idle_bias_on           = 1,
-       .use_pmdown_time        = 1,
        .endianness             = 1,
        .non_legacy_dai_naming  = 1,
 };