[PATCH v1 2/2] ASoC: tac5xx2-sdw: remove firmware check restriction
From: Niranjan H Y
Date: Thu Aug 06 2026 - 01:36:40 EST
Firmware support should be available for all the
devices in the family so that basic pre-processing
blocks can be tuned with the firmware if it is
available.
Signed-off-by: Niranjan H Y <niranjan.hy@xxxxxx>
---
sound/soc/codecs/tac5xx2-sdw.c | 26 +++++---------------------
1 file changed, 5 insertions(+), 21 deletions(-)
diff --git a/sound/soc/codecs/tac5xx2-sdw.c b/sound/soc/codecs/tac5xx2-sdw.c
index 8fedb5292..30cab16de 100644
--- a/sound/soc/codecs/tac5xx2-sdw.c
+++ b/sound/soc/codecs/tac5xx2-sdw.c
@@ -510,18 +510,6 @@ static const struct regmap_config tac_regmap = {
.use_single_write = true,
};
-/* Check if device has DSP algo that needs status monitoring */
-static bool tac_has_dsp_algo(struct tac5xx2_prv *tac_dev)
-{
- switch (tac_dev->part_id) {
- case 0x5682:
- case 0x2883:
- return true;
- default:
- return false;
- }
-}
-
/* Check if device has UAJ (Universal Audio Jack) support */
static bool tac_has_uaj_support(struct tac5xx2_prv *tac_dev)
{
@@ -2016,17 +2004,13 @@ static s32 tac_sdw_probe(struct sdw_slave *peripheral,
tac_dev->jack_type = 0;
init_completion(&tac_dev->fw_caching_complete);
- if (tac_has_dsp_algo(tac_dev)) {
- tac_generate_fw_name(peripheral, tac_dev->fw_binaryname,
- sizeof(tac_dev->fw_binaryname));
+ tac_generate_fw_name(peripheral, tac_dev->fw_binaryname,
+ sizeof(tac_dev->fw_binaryname));
- ret = tac_load_and_cache_firmware_async(tac_dev);
- if (ret) {
- complete_all(&tac_dev->fw_caching_complete);
- dev_dbg(dev, "failed to load fw: %d, use rom mode\n", ret);
- }
- } else {
+ ret = tac_load_and_cache_firmware_async(tac_dev);
+ if (ret) {
complete_all(&tac_dev->fw_caching_complete);
+ dev_dbg(dev, "failed to load fw: %d, use rom mode\n", ret);
}
ret = tac_init(tac_dev);
--
2.34.1