mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
ALSA: ctxfi - Clear input settings before initialization
Clear input settings before initialization. Signed-off-by: Przemyslaw Bruski <pbruskispam@op.pl> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
f164753a26
commit
efed5f2666
1 changed files with 2 additions and 0 deletions
|
@ -176,6 +176,7 @@ static int dao_set_left_input(struct dao *dao, struct rsc *input)
|
|||
if (!entry)
|
||||
return -ENOMEM;
|
||||
|
||||
dao->ops->clear_left_input(dao);
|
||||
/* Program master and conjugate resources */
|
||||
input->ops->master(input);
|
||||
daio->rscl.ops->master(&daio->rscl);
|
||||
|
@ -204,6 +205,7 @@ static int dao_set_right_input(struct dao *dao, struct rsc *input)
|
|||
if (!entry)
|
||||
return -ENOMEM;
|
||||
|
||||
dao->ops->clear_right_input(dao);
|
||||
/* Program master and conjugate resources */
|
||||
input->ops->master(input);
|
||||
daio->rscr.ops->master(&daio->rscr);
|
||||
|
|
Loading…
Reference in a new issue