ASoC: rsnd: run rsnd_path_init() when probe() timing
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 3 Mar 2014 07:42:47 +0000 (23:42 -0800)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:21:16 +0000 (09:21 +0900)
commitdda44b2771db22bc16d55209d888f4455630020d
treeadc1931beefbb5e283bf13b122dee333df50f101
parentb52a8688d2083c6ce1ef11922e92f0e1bd9a8a75
ASoC: rsnd: run rsnd_path_init() when probe() timing

Current rsnd SSIU/SSI/SCU/SRU path is set
when playback/capture starts up.
But it is meaningless method, since the path is based
on platform and can be set in probe() timing.
This patch sets the path on probe() timing.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 9bfed6cf4fa2cd2c5e80431244348b0c5d933cf5)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/gen.c
sound/soc/sh/rcar/rsnd.h