mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09: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:
@@ -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[] = {
|
||||
|
||||
Reference in New Issue
Block a user