* [PATCH 2/5] ASoC: SDCA: Clean up error messages
2024-12-20 17:35 [PATCH 1/5] ASoC: SDCA: Add missing header includes Charles Keepax
@ 2024-12-20 17:35 ` Charles Keepax
2024-12-20 17:35 ` [PATCH 3/5] ASoC: SDCA: Add bounds check for function address Charles Keepax
` (4 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Charles Keepax @ 2024-12-20 17:35 UTC (permalink / raw)
To: broonie
Cc: lgirdwood, peter.ujfalusi, yung-chuan.liao, pierre-louis.bossart,
linux-sound, linux-kernel, patches
All the error messages in the SDCA code manually print the function
in the output, update these to use dev_fmt instead. Whilst making
the changes tweak a couple of the error messages to make them a
little shorter.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
sound/soc/sdca/sdca_functions.c | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/sound/soc/sdca/sdca_functions.c b/sound/soc/sdca/sdca_functions.c
index 1808e5e7dee2..46aa874bb0aa 100644
--- a/sound/soc/sdca/sdca_functions.c
+++ b/sound/soc/sdca/sdca_functions.c
@@ -6,6 +6,8 @@
* https://www.mipi.org/mipi-sdca-v1-0-download
*/
+#define dev_fmt(fmt) "%s: " fmt, __func__
+
#include <linux/acpi.h>
#include <linux/device.h>
#include <linux/module.h>
@@ -49,8 +51,8 @@ static int patch_sdca_function_type(struct device *dev,
function_type_patch = SDCA_FUNCTION_TYPE_HID;
break;
default:
- dev_warn(dev, "%s: SDCA version %#x unsupported function type %d, skipped\n",
- __func__, interface_revision, *function_type);
+ dev_warn(dev, "SDCA version %#x invalid function type %d\n",
+ interface_revision, *function_type);
return -EINVAL;
}
@@ -77,17 +79,14 @@ static int patch_sdca_function_type(struct device *dev,
case SDCA_FUNCTION_TYPE_SPEAKER_MIC:
case SDCA_FUNCTION_TYPE_RJ:
case SDCA_FUNCTION_TYPE_IMP_DEF:
- dev_warn(dev, "%s: found unsupported SDCA function type %d, skipped\n",
- __func__, *function_type);
+ dev_warn(dev, "unsupported SDCA function type %d\n", *function_type);
return -EINVAL;
default:
- dev_err(dev, "%s: found invalid SDCA function type %d, skipped\n",
- __func__, *function_type);
+ dev_err(dev, "invalid SDCA function type %d\n", *function_type);
return -EINVAL;
}
- dev_info(dev, "%s: found SDCA function %s (type %d)\n",
- __func__, *function_name, *function_type);
+ dev_info(dev, "SDCA function %s (type %d)\n", *function_name, *function_type);
return 0;
}
@@ -105,7 +104,7 @@ static int find_sdca_function(struct acpi_device *adev, void *data)
int ret;
if (sdca_data->num_functions >= SDCA_MAX_FUNCTION_COUNT) {
- dev_err(dev, "%s: maximum number of functions exceeded\n", __func__);
+ dev_err(dev, "maximum number of functions exceeded\n");
return -EINVAL;
}
@@ -119,7 +118,7 @@ static int find_sdca_function(struct acpi_device *adev, void *data)
return ret;
if (!addr) {
- dev_err(dev, "%s: no addr\n", __func__);
+ dev_err(dev, "no addr\n");
return -ENODEV;
}
@@ -144,8 +143,7 @@ static int find_sdca_function(struct acpi_device *adev, void *data)
fwnode_handle_put(control5);
if (ret < 0) {
- dev_err(dev, "%s: the function type can only be determined from ACPI information\n",
- __func__);
+ dev_err(dev, "function type only supported as DisCo constant\n");
return ret;
}
--
2.39.5
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 3/5] ASoC: SDCA: Add bounds check for function address
2024-12-20 17:35 [PATCH 1/5] ASoC: SDCA: Add missing header includes Charles Keepax
2024-12-20 17:35 ` [PATCH 2/5] ASoC: SDCA: Clean up error messages Charles Keepax
@ 2024-12-20 17:35 ` Charles Keepax
2024-12-20 17:35 ` [PATCH 4/5] ASoC: SDCA: Add missing function type names Charles Keepax
` (3 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Charles Keepax @ 2024-12-20 17:35 UTC (permalink / raw)
To: broonie
Cc: lgirdwood, peter.ujfalusi, yung-chuan.liao, pierre-louis.bossart,
linux-sound, linux-kernel, patches
SDCA only supports 3-bits for the function address, but the ACPI value
is 64-bits. Update the code that parses this to do a bounds check
and error out on invalid addresses. Currently, an invalid address
would truncate to the bottom 3-bits when used and thus use a likely
incorrect address. With the bounds check, it is also now safe to
shrink the size of the adr member of sdca_function_desc to a u8 and
rearrange the struct members to pack better with the new size of adr.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
include/sound/sdca.h | 4 ++--
sound/soc/sdca/sdca_functions.c | 9 ++-------
2 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/include/sound/sdca.h b/include/sound/sdca.h
index 3eea1dfec16c..973252d0adac 100644
--- a/include/sound/sdca.h
+++ b/include/sound/sdca.h
@@ -23,9 +23,9 @@ struct sdw_slave;
* @name: human-readable string
*/
struct sdca_function_desc {
- u64 adr;
- u32 type;
const char *name;
+ u32 type;
+ u8 adr;
};
/**
diff --git a/sound/soc/sdca/sdca_functions.c b/sound/soc/sdca/sdca_functions.c
index 46aa874bb0aa..a69fdb9c8b15 100644
--- a/sound/soc/sdca/sdca_functions.c
+++ b/sound/soc/sdca/sdca_functions.c
@@ -108,17 +108,12 @@ static int find_sdca_function(struct acpi_device *adev, void *data)
return -EINVAL;
}
- /*
- * The number of functions cannot exceed 8, we could use
- * acpi_get_local_address() but the value is stored as u64 so
- * we might as well avoid casts and intermediate levels
- */
ret = acpi_get_local_u64_address(adev->handle, &addr);
if (ret < 0)
return ret;
- if (!addr) {
- dev_err(dev, "no addr\n");
+ if (!addr || addr > 0x7) {
+ dev_err(dev, "invalid addr: 0x%llx\n", addr);
return -ENODEV;
}
--
2.39.5
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 4/5] ASoC: SDCA: Add missing function type names
2024-12-20 17:35 [PATCH 1/5] ASoC: SDCA: Add missing header includes Charles Keepax
2024-12-20 17:35 ` [PATCH 2/5] ASoC: SDCA: Clean up error messages Charles Keepax
2024-12-20 17:35 ` [PATCH 3/5] ASoC: SDCA: Add bounds check for function address Charles Keepax
@ 2024-12-20 17:35 ` Charles Keepax
2025-01-02 22:01 ` Pierre-Louis Bossart
2024-12-20 17:35 ` [PATCH 5/5] ASoC: SDCA: Split function type patching and function naming Charles Keepax
` (2 subsequent siblings)
5 siblings, 1 reply; 9+ messages in thread
From: Charles Keepax @ 2024-12-20 17:35 UTC (permalink / raw)
To: broonie
Cc: lgirdwood, peter.ujfalusi, yung-chuan.liao, pierre-louis.bossart,
linux-sound, linux-kernel, patches
It is not helpful to error out on some SDCA function types, we
might as well report the correct name and let the driver core
simply not bind a driver to those functions for which the code
lacks support. Also given no functions currently have support,
it seems odd to select some as unsupported.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
include/sound/sdca_function.h | 1 +
sound/soc/sdca/sdca_functions.c | 12 ++++++++++--
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/include/sound/sdca_function.h b/include/sound/sdca_function.h
index 6943df0851a9..89e42db6d591 100644
--- a/include/sound/sdca_function.h
+++ b/include/sound/sdca_function.h
@@ -42,6 +42,7 @@ enum sdca_function_type {
#define SDCA_FUNCTION_TYPE_RJ_NAME "RJ"
#define SDCA_FUNCTION_TYPE_SIMPLE_NAME "SimpleJack"
#define SDCA_FUNCTION_TYPE_HID_NAME "HID"
+#define SDCA_FUNCTION_TYPE_IMP_DEF_NAME "ImplementationDefined"
enum sdca_entity0_controls {
SDCA_CONTROL_ENTITY_0_COMMIT_GROUP_MASK = 0x01,
diff --git a/sound/soc/sdca/sdca_functions.c b/sound/soc/sdca/sdca_functions.c
index a69fdb9c8b15..400763e056fa 100644
--- a/sound/soc/sdca/sdca_functions.c
+++ b/sound/soc/sdca/sdca_functions.c
@@ -75,12 +75,20 @@ static int patch_sdca_function_type(struct device *dev,
*function_name = SDCA_FUNCTION_TYPE_HID_NAME;
break;
case SDCA_FUNCTION_TYPE_SIMPLE_AMP:
+ *function_name = SDCA_FUNCTION_TYPE_SIMPLE_AMP_NAME;
+ break;
case SDCA_FUNCTION_TYPE_SIMPLE_MIC:
+ *function_name = SDCA_FUNCTION_TYPE_SIMPLE_MIC_NAME;
+ break;
case SDCA_FUNCTION_TYPE_SPEAKER_MIC:
+ *function_name = SDCA_FUNCTION_TYPE_SPEAKER_MIC_NAME;
+ break;
case SDCA_FUNCTION_TYPE_RJ:
+ *function_name = SDCA_FUNCTION_TYPE_RJ_NAME;
+ break;
case SDCA_FUNCTION_TYPE_IMP_DEF:
- dev_warn(dev, "unsupported SDCA function type %d\n", *function_type);
- return -EINVAL;
+ *function_name = SDCA_FUNCTION_TYPE_IMP_DEF_NAME;
+ break;
default:
dev_err(dev, "invalid SDCA function type %d\n", *function_type);
return -EINVAL;
--
2.39.5
^ permalink raw reply related [flat|nested] 9+ messages in thread* Re: [PATCH 4/5] ASoC: SDCA: Add missing function type names
2024-12-20 17:35 ` [PATCH 4/5] ASoC: SDCA: Add missing function type names Charles Keepax
@ 2025-01-02 22:01 ` Pierre-Louis Bossart
2025-01-06 12:20 ` Charles Keepax
0 siblings, 1 reply; 9+ messages in thread
From: Pierre-Louis Bossart @ 2025-01-02 22:01 UTC (permalink / raw)
To: Charles Keepax, broonie
Cc: lgirdwood, peter.ujfalusi, yung-chuan.liao, linux-sound,
linux-kernel, patches
On 12/20/24 11:35, Charles Keepax wrote:
> It is not helpful to error out on some SDCA function types, we
> might as well report the correct name and let the driver core
> simply not bind a driver to those functions for which the code
> lacks support. Also given no functions currently have support,
> it seems odd to select some as unsupported.
>
> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
> ---
> include/sound/sdca_function.h | 1 +
> sound/soc/sdca/sdca_functions.c | 12 ++++++++++--
> 2 files changed, 11 insertions(+), 2 deletions(-)
>
> diff --git a/include/sound/sdca_function.h b/include/sound/sdca_function.h
> index 6943df0851a9..89e42db6d591 100644
> --- a/include/sound/sdca_function.h
> +++ b/include/sound/sdca_function.h
> @@ -42,6 +42,7 @@ enum sdca_function_type {
> #define SDCA_FUNCTION_TYPE_RJ_NAME "RJ"
> #define SDCA_FUNCTION_TYPE_SIMPLE_NAME "SimpleJack"
> #define SDCA_FUNCTION_TYPE_HID_NAME "HID"
> +#define SDCA_FUNCTION_TYPE_IMP_DEF_NAME "ImplementationDefined"
>
> enum sdca_entity0_controls {
> SDCA_CONTROL_ENTITY_0_COMMIT_GROUP_MASK = 0x01,
> diff --git a/sound/soc/sdca/sdca_functions.c b/sound/soc/sdca/sdca_functions.c
> index a69fdb9c8b15..400763e056fa 100644
> --- a/sound/soc/sdca/sdca_functions.c
> +++ b/sound/soc/sdca/sdca_functions.c
> @@ -75,12 +75,20 @@ static int patch_sdca_function_type(struct device *dev,
> *function_name = SDCA_FUNCTION_TYPE_HID_NAME;
> break;
> case SDCA_FUNCTION_TYPE_SIMPLE_AMP:
> + *function_name = SDCA_FUNCTION_TYPE_SIMPLE_AMP_NAME;
> + break;
> case SDCA_FUNCTION_TYPE_SIMPLE_MIC:
> + *function_name = SDCA_FUNCTION_TYPE_SIMPLE_MIC_NAME;
> + break;
> case SDCA_FUNCTION_TYPE_SPEAKER_MIC:
> + *function_name = SDCA_FUNCTION_TYPE_SPEAKER_MIC_NAME;
> + break;
> case SDCA_FUNCTION_TYPE_RJ:
> + *function_name = SDCA_FUNCTION_TYPE_RJ_NAME;
> + break;
the changes above are fine...
> case SDCA_FUNCTION_TYPE_IMP_DEF:
> - dev_warn(dev, "unsupported SDCA function type %d\n", *function_type);
> - return -EINVAL;
> + *function_name = SDCA_FUNCTION_TYPE_IMP_DEF_NAME;
> + break;
but this one is controversial. We really have no idea what to do in this
case. There could be completely different 'imp-def' functions that
require different drivers. I don't know how the entire binding mechanism
would work. Probably best to err on the side of throwing a 'not
supported' error?
> default:
> dev_err(dev, "invalid SDCA function type %d\n", *function_type);
> return -EINVAL;
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH 4/5] ASoC: SDCA: Add missing function type names
2025-01-02 22:01 ` Pierre-Louis Bossart
@ 2025-01-06 12:20 ` Charles Keepax
0 siblings, 0 replies; 9+ messages in thread
From: Charles Keepax @ 2025-01-06 12:20 UTC (permalink / raw)
To: Pierre-Louis Bossart
Cc: broonie, lgirdwood, peter.ujfalusi, yung-chuan.liao, linux-sound,
linux-kernel, patches
On Thu, Jan 02, 2025 at 04:01:19PM -0600, Pierre-Louis Bossart wrote:
> On 12/20/24 11:35, Charles Keepax wrote:
> > case SDCA_FUNCTION_TYPE_IMP_DEF:
> > - dev_warn(dev, "unsupported SDCA function type %d\n", *function_type);
> > - return -EINVAL;
> > + *function_name = SDCA_FUNCTION_TYPE_IMP_DEF_NAME;
> > + break;
>
> but this one is controversial. We really have no idea what to do in this
> case. There could be completely different 'imp-def' functions that require
> different drivers. I don't know how the entire binding mechanism would work.
> Probably best to err on the side of throwing a 'not supported' error?
>
I would certainly agree with you that a generic class driver
implementation would not bind against an imp def function, but I
see no reason to prevent custom driver implementations from being
able to access this function. They will be creating the parent
auxilary stuff and can bind whatever they like to this imp def
function.
Thanks,
Charles
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 5/5] ASoC: SDCA: Split function type patching and function naming
2024-12-20 17:35 [PATCH 1/5] ASoC: SDCA: Add missing header includes Charles Keepax
` (2 preceding siblings ...)
2024-12-20 17:35 ` [PATCH 4/5] ASoC: SDCA: Add missing function type names Charles Keepax
@ 2024-12-20 17:35 ` Charles Keepax
2024-12-25 1:23 ` [PATCH 1/5] ASoC: SDCA: Add missing header includes Mark Brown
2025-01-06 12:07 ` Mark Brown
5 siblings, 0 replies; 9+ messages in thread
From: Charles Keepax @ 2024-12-20 17:35 UTC (permalink / raw)
To: broonie
Cc: lgirdwood, peter.ujfalusi, yung-chuan.liao, pierre-louis.bossart,
linux-sound, linux-kernel, patches
Currently, patch_sdca_function_type() both patches the function type
for older SDCA revisions, and reports the name of the function. In
general it is cleaner to have a single function only do a single
task, so split these operations into two separate functions.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
sound/soc/sdca/sdca_functions.c | 117 +++++++++++++++-----------------
1 file changed, 53 insertions(+), 64 deletions(-)
diff --git a/sound/soc/sdca/sdca_functions.c b/sound/soc/sdca/sdca_functions.c
index 400763e056fa..38071bc838b9 100644
--- a/sound/soc/sdca/sdca_functions.c
+++ b/sound/soc/sdca/sdca_functions.c
@@ -17,86 +17,64 @@
#include <sound/sdca.h>
#include <sound/sdca_function.h>
-static int patch_sdca_function_type(struct device *dev,
- u32 interface_revision,
- u32 *function_type,
- const char **function_name)
+static int patch_sdca_function_type(u32 interface_revision, u32 *function_type)
{
- unsigned long function_type_patch = 0;
-
/*
* Unfortunately early SDCA specifications used different indices for Functions,
* for backwards compatibility we have to reorder the values found
*/
- if (interface_revision >= 0x0801)
- goto skip_early_draft_order;
-
- switch (*function_type) {
- case 1:
- function_type_patch = SDCA_FUNCTION_TYPE_SMART_AMP;
- break;
- case 2:
- function_type_patch = SDCA_FUNCTION_TYPE_SMART_MIC;
- break;
- case 3:
- function_type_patch = SDCA_FUNCTION_TYPE_SPEAKER_MIC;
- break;
- case 4:
- function_type_patch = SDCA_FUNCTION_TYPE_UAJ;
- break;
- case 5:
- function_type_patch = SDCA_FUNCTION_TYPE_RJ;
- break;
- case 6:
- function_type_patch = SDCA_FUNCTION_TYPE_HID;
- break;
- default:
- dev_warn(dev, "SDCA version %#x invalid function type %d\n",
- interface_revision, *function_type);
- return -EINVAL;
+ if (interface_revision < 0x0801) {
+ switch (*function_type) {
+ case 1:
+ *function_type = SDCA_FUNCTION_TYPE_SMART_AMP;
+ break;
+ case 2:
+ *function_type = SDCA_FUNCTION_TYPE_SMART_MIC;
+ break;
+ case 3:
+ *function_type = SDCA_FUNCTION_TYPE_SPEAKER_MIC;
+ break;
+ case 4:
+ *function_type = SDCA_FUNCTION_TYPE_UAJ;
+ break;
+ case 5:
+ *function_type = SDCA_FUNCTION_TYPE_RJ;
+ break;
+ case 6:
+ *function_type = SDCA_FUNCTION_TYPE_HID;
+ break;
+ default:
+ return -EINVAL;
+ }
}
-skip_early_draft_order:
- if (function_type_patch)
- *function_type = function_type_patch;
+ return 0;
+}
- /* now double-check the values */
- switch (*function_type) {
+static const char *get_sdca_function_name(u32 function_type)
+{
+ switch (function_type) {
case SDCA_FUNCTION_TYPE_SMART_AMP:
- *function_name = SDCA_FUNCTION_TYPE_SMART_AMP_NAME;
- break;
+ return SDCA_FUNCTION_TYPE_SMART_AMP_NAME;
case SDCA_FUNCTION_TYPE_SMART_MIC:
- *function_name = SDCA_FUNCTION_TYPE_SMART_MIC_NAME;
- break;
+ return SDCA_FUNCTION_TYPE_SMART_MIC_NAME;
case SDCA_FUNCTION_TYPE_UAJ:
- *function_name = SDCA_FUNCTION_TYPE_UAJ_NAME;
- break;
+ return SDCA_FUNCTION_TYPE_UAJ_NAME;
case SDCA_FUNCTION_TYPE_HID:
- *function_name = SDCA_FUNCTION_TYPE_HID_NAME;
- break;
+ return SDCA_FUNCTION_TYPE_HID_NAME;
case SDCA_FUNCTION_TYPE_SIMPLE_AMP:
- *function_name = SDCA_FUNCTION_TYPE_SIMPLE_AMP_NAME;
- break;
+ return SDCA_FUNCTION_TYPE_SIMPLE_AMP_NAME;
case SDCA_FUNCTION_TYPE_SIMPLE_MIC:
- *function_name = SDCA_FUNCTION_TYPE_SIMPLE_MIC_NAME;
- break;
+ return SDCA_FUNCTION_TYPE_SIMPLE_MIC_NAME;
case SDCA_FUNCTION_TYPE_SPEAKER_MIC:
- *function_name = SDCA_FUNCTION_TYPE_SPEAKER_MIC_NAME;
- break;
+ return SDCA_FUNCTION_TYPE_SPEAKER_MIC_NAME;
case SDCA_FUNCTION_TYPE_RJ:
- *function_name = SDCA_FUNCTION_TYPE_RJ_NAME;
- break;
+ return SDCA_FUNCTION_TYPE_RJ_NAME;
case SDCA_FUNCTION_TYPE_IMP_DEF:
- *function_name = SDCA_FUNCTION_TYPE_IMP_DEF_NAME;
- break;
+ return SDCA_FUNCTION_TYPE_IMP_DEF_NAME;
default:
- dev_err(dev, "invalid SDCA function type %d\n", *function_type);
- return -EINVAL;
+ return NULL;
}
-
- dev_info(dev, "SDCA function %s (type %d)\n", *function_name, *function_type);
-
- return 0;
}
static int find_sdca_function(struct acpi_device *adev, void *data)
@@ -150,10 +128,21 @@ static int find_sdca_function(struct acpi_device *adev, void *data)
return ret;
}
- ret = patch_sdca_function_type(dev, sdca_data->interface_revision,
- &function_type, &function_name);
- if (ret < 0)
+ ret = patch_sdca_function_type(sdca_data->interface_revision, &function_type);
+ if (ret < 0) {
+ dev_err(dev, "SDCA version %#x invalid function type %d\n",
+ sdca_data->interface_revision, function_type);
return ret;
+ }
+
+ function_name = get_sdca_function_name(function_type);
+ if (!function_name) {
+ dev_err(dev, "invalid SDCA function type %d\n", function_type);
+ return -EINVAL;
+ }
+
+ dev_info(dev, "SDCA function %s (type %d) at 0x%llx\n",
+ function_name, function_type, addr);
/* store results */
func_index = sdca_data->num_functions;
--
2.39.5
^ permalink raw reply related [flat|nested] 9+ messages in thread* Re: [PATCH 1/5] ASoC: SDCA: Add missing header includes
2024-12-20 17:35 [PATCH 1/5] ASoC: SDCA: Add missing header includes Charles Keepax
` (3 preceding siblings ...)
2024-12-20 17:35 ` [PATCH 5/5] ASoC: SDCA: Split function type patching and function naming Charles Keepax
@ 2024-12-25 1:23 ` Mark Brown
2025-01-06 12:07 ` Mark Brown
5 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2024-12-25 1:23 UTC (permalink / raw)
To: Charles Keepax
Cc: lgirdwood, peter.ujfalusi, yung-chuan.liao, pierre-louis.bossart,
linux-sound, linux-kernel, patches
On Fri, 20 Dec 2024 17:35:12 +0000, Charles Keepax wrote:
> Several of the SDCA files don't include all the headers they use
> locally. These are included by the point of use through other
> headers, so it is not currently causing any issues. However, files
> should directly include things they directly use, so add the
> missing header includes.
>
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/5] ASoC: SDCA: Add missing header includes
commit: deb015208f7be9a62cb68dd8337d075b1829ee1d
[2/5] ASoC: SDCA: Clean up error messages
commit: 935cd06bfad4b715195befaf527a2d4fd36361d9
[3/5] ASoC: SDCA: Add bounds check for function address
commit: c36297b1bd6e52a75a8ed75eb5dbf35c50402398
[4/5] ASoC: SDCA: Add missing function type names
commit: c1ed5eb13f39b0058670bc2b1e251a040c306868
[5/5] ASoC: SDCA: Split function type patching and function naming
commit: 69dcf023f1f13ca9c2e9e8f30b9ec52ac0486c0a
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH 1/5] ASoC: SDCA: Add missing header includes
2024-12-20 17:35 [PATCH 1/5] ASoC: SDCA: Add missing header includes Charles Keepax
` (4 preceding siblings ...)
2024-12-25 1:23 ` [PATCH 1/5] ASoC: SDCA: Add missing header includes Mark Brown
@ 2025-01-06 12:07 ` Mark Brown
5 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2025-01-06 12:07 UTC (permalink / raw)
To: Charles Keepax
Cc: lgirdwood, peter.ujfalusi, yung-chuan.liao, pierre-louis.bossart,
linux-sound, linux-kernel, patches
[-- Attachment #1: Type: text/plain, Size: 615 bytes --]
On Fri, Dec 20, 2024 at 05:35:12PM +0000, Charles Keepax wrote:
> Several of the SDCA files don't include all the headers they use
> locally. These are included by the point of use through other
> headers, so it is not currently causing any issues. However, files
> should directly include things they directly use, so add the
> missing header includes.
As mentioned in submitting-patches.rst when submitting a patch series
you should supply a cover letter for that patch series which describes
the overall content of the series. This helps people understand what
they are looking at and how things fit together.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread