diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2021-01-20 01:31:51 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-01-26 07:32:46 +0100 |
commit | 6755568ad111394da224c823e8baf31a05a1469c (patch) | |
tree | e00db3e6af39507cb1bf4a4a1f84235a77959390 /sound/isa/opl3sa2.c | |
parent | ALSA: hda/tegra: Reset hardware (diff) | |
download | linux-6755568ad111394da224c823e8baf31a05a1469c.tar.xz linux-6755568ad111394da224c823e8baf31a05a1469c.zip |
ALSA: hda/tegra: Remove unnecessary null-check from hda_tegra_runtime_resume()
The "chip" can't be NULL in hda_tegra_runtime_resume() because code would
crash otherwise. Let's remove the unnecessary check in order to clean up
code a tad.
Tested-by: Peter Geis <pgwipeout@gmail.com> # Ouya T30 audio works
Tested-by: Matt Merhar <mattmerhar@protonmail.com> # Ouya T30 boot-tested
Suggested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20210120003154.26749-4-digetx@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/opl3sa2.c')
0 files changed, 0 insertions, 0 deletions