Unverified Commit d72498fa authored by Shuming Fan's avatar Shuming Fan Committed by Mark Brown
Browse files

ASoC: rt1320: reads patch code from firmware file



This patch removes many lines of the patch code and
reads the patch code from firmware files.

Signed-off-by: default avatarShuming Fan <shumingf@realtek.com>
Link: https://patch.msgid.link/20240914090521.2224276-1-shumingf@realtek.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a2bd5a25
Loading
Loading
Loading
Loading
+105 −3242

File changed.

Preview size limit exceeded, changes collapsed.

+2 −0
Original line number Diff line number Diff line
@@ -82,6 +82,8 @@ enum rt1320_version_id {
};

#define RT1320_VER_B_ID 0x07392238
#define RT1320_VAB_MCU_PATCH "realtek/rt1320/rt1320-patch-code-vab.bin"
#define RT1320_VC_MCU_PATCH "realtek/rt1320/rt1320-patch-code-vc.bin"

struct rt1320_sdw_priv {
	struct snd_soc_component *component;