Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: rt-sdw-common: Enhance switch case to prevent uninitialized var…
…iable If det_mode is not 0, 3 or 5 then function will return jack_type with an uninitialzed value. Enhance switch case to prevent uninitialized variable issue. Signed-off-by: Jack Yu <jack.yu@realtek.com> Link: https://patch.msgid.link/8631337239d744088d56caab2d8f39cb@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
- Loading branch information