mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 23:23:53 +02:00
ASoC: hdmi-codec: Fix mismatch channel status array
Fixes: [smatch] sound/soc/codecs/hdmi-codec.c:504 hdmi_codec_hw_params() error: memcpy() 'hcp->iec_status' too small (5 vs 24) Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com> Change-Id: I6dfa154c95159fa7563faf52a6fdbd87e0f398a9
This commit is contained in:
parent
4142064c7f
commit
0e48a7ef3c
|
|
@ -277,7 +277,7 @@ struct hdmi_codec_priv {
|
|||
bool busy;
|
||||
struct snd_soc_jack *jack;
|
||||
unsigned int jack_status;
|
||||
u8 iec_status[5];
|
||||
u8 iec_status[24];
|
||||
};
|
||||
|
||||
static const struct snd_soc_dapm_widget hdmi_widgets[] = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user