ASoC: tegra30: ahub: Reset global variable
authorDmitry Osipenko <digetx@gmail.com>
Sun, 14 Mar 2021 15:44:57 +0000 (18:44 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 18 Mar 2021 13:49:43 +0000 (13:49 +0000)
commit5d956e3cb806870012c443bc265e6ac6188d3c36
treea2059dedbae38c219901a32c4342fb327328af73
parentb5f6f781fcb27b3ae5a2f04312a190115b5cbbd1
ASoC: tegra30: ahub: Reset global variable

Tegra30 AHUB uses global variable that is never reset by the driver on
a probe failure and on driver removal, meaning that driver will never try
to re-probe and can't be unbound. Make driver to reset the variable.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20210314154459.15375-16-digetx@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra30_ahub.c