]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt286: Restore default in probe
authorBard Liao <bardliao@realtek.com>
Thu, 9 Apr 2015 03:20:32 +0000 (11:20 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 9 Apr 2015 10:31:22 +0000 (11:31 +0100)
commitc0487cc835454814cf04a86a195f20aac9493497
treec077ea3e27c0d85f072745d7ed9782d406dbe631
parent84c0ef6af44294fd0fbe87ea9274f593ae73a861
ASoC: rt286: Restore default in probe

RT286 can't do register reset. If the hardware power is still existing
in power off, rt286 will keep the register settings. So, we need to
restore the default register value in probe to make sure the cache value
is the same as the real register value.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt286.c