* using fixed path.
*/
- /* SRC */
- ret = rsnd_path_add(priv, io, src);
+ /* SSI */
+ ret = rsnd_path_add(priv, io, ssi);
if (ret < 0)
return ret;
- /* SSI */
- ret = rsnd_path_add(priv, io, ssi);
+ /* SRC */
+ ret = rsnd_path_add(priv, io, src);
if (ret < 0)
return ret;
*/
void *gen;
- /*
- * below value will be filled on rsnd_src_probe()
- */
- void *src;
- int src_nr;
-
/*
* below value will be filled on rsnd_adg_probe()
*/
void *ssi;
int ssi_nr;
+ /*
+ * below value will be filled on rsnd_src_probe()
+ */
+ void *src;
+ int src_nr;
+
/*
* below value will be filled on rsnd_dvc_probe()
*/
const char * const *texts,
u32 max);
+/*
+ * R-Car SSI
+ */
+int rsnd_ssi_probe(struct platform_device *pdev,
+ const struct rsnd_of_data *of_data,
+ struct rsnd_priv *priv);
+void rsnd_ssi_remove(struct platform_device *pdev,
+ struct rsnd_priv *priv);
+struct rsnd_mod *rsnd_ssi_mod_get(struct rsnd_priv *priv, int id);
+int rsnd_ssi_is_pin_sharing(struct rsnd_mod *mod);
+int rsnd_ssi_is_dma_mode(struct rsnd_mod *mod);
+int rsnd_ssi_use_busif(struct rsnd_dai_stream *io, struct rsnd_mod *mod);
+
/*
* R-Car SRC
*/
int rsnd_src_ssi_irq_enable(struct rsnd_mod *ssi_mod);
int rsnd_src_ssi_irq_disable(struct rsnd_mod *ssi_mod);
-/*
- * R-Car SSI
- */
-int rsnd_ssi_probe(struct platform_device *pdev,
- const struct rsnd_of_data *of_data,
- struct rsnd_priv *priv);
-void rsnd_ssi_remove(struct platform_device *pdev,
- struct rsnd_priv *priv);
-struct rsnd_mod *rsnd_ssi_mod_get(struct rsnd_priv *priv, int id);
-int rsnd_ssi_is_pin_sharing(struct rsnd_mod *mod);
-int rsnd_ssi_is_dma_mode(struct rsnd_mod *mod);
-int rsnd_ssi_use_busif(struct rsnd_dai_stream *io, struct rsnd_mod *mod);
-
/*
* R-Car DVC
*/