Merge remote-tracking branch 'asoc/fix/rcar' into asoc-linus
This commit is contained in:
commit
4b47ab4265
|
@ -200,9 +200,8 @@ static void rsnd_dma_do_work(struct work_struct *work)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dma_async_issue_pending(dma->chan);
|
||||||
}
|
}
|
||||||
|
|
||||||
dma_async_issue_pending(dma->chan);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int rsnd_dma_available(struct rsnd_dma *dma)
|
int rsnd_dma_available(struct rsnd_dma *dma)
|
||||||
|
@ -288,15 +287,13 @@ int rsnd_dai_connect(struct rsnd_dai *rdai,
|
||||||
struct rsnd_mod *mod,
|
struct rsnd_mod *mod,
|
||||||
struct rsnd_dai_stream *io)
|
struct rsnd_dai_stream *io)
|
||||||
{
|
{
|
||||||
struct rsnd_priv *priv = rsnd_mod_to_priv(mod);
|
if (!mod)
|
||||||
struct device *dev = rsnd_priv_to_dev(priv);
|
|
||||||
|
|
||||||
if (!mod) {
|
|
||||||
dev_err(dev, "NULL mod\n");
|
|
||||||
return -EIO;
|
return -EIO;
|
||||||
}
|
|
||||||
|
|
||||||
if (!list_empty(&mod->list)) {
|
if (!list_empty(&mod->list)) {
|
||||||
|
struct rsnd_priv *priv = rsnd_mod_to_priv(mod);
|
||||||
|
struct device *dev = rsnd_priv_to_dev(priv);
|
||||||
|
|
||||||
dev_err(dev, "%s%d is not empty\n",
|
dev_err(dev, "%s%d is not empty\n",
|
||||||
rsnd_mod_name(mod),
|
rsnd_mod_name(mod),
|
||||||
rsnd_mod_id(mod));
|
rsnd_mod_id(mod));
|
||||||
|
|
|
@ -68,7 +68,7 @@ static int rsnd_scu_set_route(struct rsnd_priv *priv,
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
id = rsnd_mod_id(mod);
|
id = rsnd_mod_id(mod);
|
||||||
if (id < 0 || id > ARRAY_SIZE(routes))
|
if (id < 0 || id >= ARRAY_SIZE(routes))
|
||||||
return -EIO;
|
return -EIO;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue