From patchwork Sat Aug 3 10:41:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 816634 Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BDC3512F59C for ; Sat, 3 Aug 2024 10:41:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722681708; cv=none; b=rcsfHZD9zEIxBLyUXekoztvYjCt90sw8aoS+frsGswdmwMJKQoBYkrHDd8mK2eR++IH4gK4I4FSly5Mw+F12SR6W0UauLvMLYWGGVsnciz9TYKaHC3HMqFkFGCvlPCurQWmFSiG9BdVMKmFUhFhvi9bil3QhPKjjO0ARtrho8vc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722681708; c=relaxed/simple; bh=/keCe+RYTAEof6iY2K+Bnv28/+hoBwjA1/9NQ0Hke4I=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=YJJ7Bqk5fKzEBZakvcC1rmmhCnPwloeHKe+nZhmDRzW8VF/E2Q4WJ1ODsJPru0kmDv+xCphebxqHyPo60t1q3uNMydcSTgg1yRom/G8UvPly1b4oiDeP/0bXb8kF/iFIbr2lK0X5JS5nazl7lf8Wn4MeEuD8QNpD6fZ+XELPCXg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=idBS6qZZ; arc=none smtp.client-ip=209.85.167.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="idBS6qZZ" Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-52efdf02d13so14945461e87.2 for ; Sat, 03 Aug 2024 03:41:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722681705; x=1723286505; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=X6XfE0wuy/HIDAoO9pP4NYutSvJQFGt1Hra+lGxkJO4=; b=idBS6qZZpRrFktyEkNxKJ2O1rIhtVqdf02d+J9QJ16mrpTO3/LxkQiXXR9buGakS0b IbHZLJfd6JsaeIDCSqkcnEe0kI7B230Sz330uKar7RQfh0VIoawYrR2N50AZBYgp1+OM jIPz7Hf+1aAryySTlj8C+Bc61Y6sUX/VWprGZApClVr46Nz1WrL54Qj6Y6BLFXEIrOgp mxWCeWOwoqhd/nQ1DP7P0phb6Nktoaq47dzy/ISiOK91Hva5JIvwp5K7YKszFJxhZKFE e5X05WirxPT+wWurQo+owOEabvFWqUBU/r4ZXikJZvhcncIgxex5+meNw0nmdy2MEbLB 2D7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722681705; x=1723286505; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=X6XfE0wuy/HIDAoO9pP4NYutSvJQFGt1Hra+lGxkJO4=; b=j3IIXUvl+THdUxF/sYuIqoJTVog2PyHtb+7LHq3SMRht7V6BwqqwEEAhj5IgDQkxEp UDjNK5sPN/r32n5KWYrcqQt2G4TYlmaMRAA81Lv1g1CM3JlcCFPt6yhB7RoXOv5tUbxX 1Y4FDNiVvnWk7uTuq+tDmIFwvUirXP+3PRMhw4t7awlz4yc0a+FaPDuBD0ATtcAlaDcO uFLvboE5CH6CkdGBL+4/QBuEgecJQmCIuQX3jYnsDBGz/l+Bkudd1AQzcTskiqg0TpPe 1g+KzpB9MOqpaQdUU9ZHVAtj4EZHEDVvQDwuSsXwZc3q3wciSoJzbNyVXiGo5vkOhgG1 77fw== X-Forwarded-Encrypted: i=1; AJvYcCUNE7k4LGxofd9gRV+kcpOUjxUugTCmdHBSGDaFXfqagqJFnwaOivfU0ySDYok6X9uwEcC4UfgVOm8rvRC77mXeDfBAlU7Mh13ZPGkXxg== X-Gm-Message-State: AOJu0Yx23lbWcRkltx8XrNgOj5WiUAW63A3zC5caFrIVDI/9wUFQ1CDJ nreFCE++Xggk0F6jgsejyhvC3qBILpNsZLrdU47E3qXf5+40ozszxAWR9K/m67k= X-Google-Smtp-Source: AGHT+IF800af46goSmkquETHEPslclS/M3eT6WGABoZvnDas++CS/5VA5nNGupa/GwDs2mHuxpiZKg== X-Received: by 2002:a05:6512:1094:b0:52c:df55:e110 with SMTP id 2adb3069b0e04-530bb373806mr5208762e87.12.1722681704438; Sat, 03 Aug 2024 03:41:44 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7dc9e7feecsm202086366b.176.2024.08.03.03.41.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Aug 2024 03:41:43 -0700 (PDT) From: Dmitry Baryshkov Subject: [PATCH 0/2] ASoC: codecs: warn on unknown codec version Date: Sat, 03 Aug 2024 13:41:39 +0300 Message-Id: <20240803-codec-version-v1-0-bc29baa5e417@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAGQJrmYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDCwNj3eT8lNRk3bLUIpBK3ZQkszQz08QkU8PkVCWgnoKi1LTMCrB50bG 1tQASd7tkXwAAAA== To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Srinivas Kandagatla , Banajit Goswami Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, Dmitry Baryshkov X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=967; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=/keCe+RYTAEof6iY2K+Bnv28/+hoBwjA1/9NQ0Hke4I=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmrglmKnfdtOGxXRACB8UtRgTdRs5sMF7sJRo7w 3EY4ygT+smJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZq4JZgAKCRCLPIo+Aiko 1WG/CACayIklwe1wlfXJJ61EnWlvC8/+TtjBvjCNMmW6IlKA8j+pUQYqOb+lXwgofI8nDEAN7mG nC4IqS1m583hIVeTvOVh+A714w9AgQ1lRSBHIn//0Wo4RXGYOfuPZUuQg+BknlbWx6iE+X14gwN mLSDiebkQtEx5ePwbUl41NGCM3i8XHCssI8Kl9ptHceBty9qD6lwk5XdyTbQn7RbzbeWXk8vVc/ 25iTZbVmDW4iIEG37IzqszToAl+A8YkD4xEN5x/F8Yr1wA5+uZyiY8aO9zAPrdlLKtaiDLf1ME2 xpy3DXb2xx2u+DNMojPMNf68mgvEShp/c4KgWQNeRq1KjCZC X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A While debugging broken audio issues on some of Qualcomm platforms I stumbled upon the kernel not providing the actual error information. It prints an error from the wsa_macro driver, but the actual issue is in the VA macro driver. Add error message to point to the actual error location. va_macro 3370000.codec: Unknown VA Codec version, ID: 00 / 0f / 00 wsa_macro 3240000.codec: Unsupported Codec version (0) Signed-off-by: Dmitry Baryshkov --- Dmitry Baryshkov (2): ASoC: codecs: lpass-macro: fix version strings returned for 1.x codecs ASoC: codecs: lpass-va-macro: warn on unknown version sound/soc/codecs/lpass-macro-common.h | 6 ++++++ sound/soc/codecs/lpass-va-macro.c | 4 ++++ 2 files changed, 10 insertions(+) --- base-commit: 668d33c9ff922c4590c58754ab064aaf53c387dd change-id: 20240803-codec-version-db6f65ab51ce Best regards,