diff options
author | Colin Ian King | 2020-10-28 11:51:12 +0000 |
---|---|---|
committer | Mark Brown | 2020-10-28 21:33:22 +0000 |
commit | bcc96dc3cf8048c80af7c487af17e19be27ac57d (patch) | |
tree | 23394a35f2129eeaa3d188c72acbb9ecf3c7a1de /Documentation/scsi/53c700.rst | |
parent | 7c91d02068c342918003606bf378b259f37b31ba (diff) |
ASoC: qcom: fix unsigned int bitwidth compared to less than zero
The check for an error return from the call to snd_pcm_format_width
is never true as the unsigned int bitwidth can never be less than
zero. Fix this by making bitwidth an int.
Fixes: 7cb37b7bd0d3 ("ASoC: qcom: Add support for lpass hdmi driver")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20201028115112.109017-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/scsi/53c700.rst')
0 files changed, 0 insertions, 0 deletions