Skip to content
Commit 6755568a authored by Dmitry Osipenko's avatar Dmitry Osipenko Committed by Takashi Iwai
Browse files

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: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarDmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20210120003154.26749-4-digetx@gmail.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 87f0e46e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment