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: Shuming Fan <shumingf@realtek.com>
Link: https://patch.msgid.link/20240914090521.2224276-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Shuming Fan 2024-09-14 17:05:21 +08:00 committed by Mark Brown
parent a2bd5a25c1
commit d72498fad9
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
2 changed files with 107 additions and 3242 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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;