Clock separation #15471
compliance.yml
on: pull_request
Run compliance checks on patch series (PR)
4m 6s
Annotations
14 errors, 3 warnings, and 10 notices
|
Run compliance checks on patch series (PR)
Process completed with exit code 1.
|
|
Run compliance checks on patch series (PR):
Identity.txt#L0
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#commit-guidelines for more details.
da2ac8a5012ef077bf44e09b68fb7da12b8a9089: Empty commit message body
da2ac8a5012ef077bf44e09b68fb7da12b8a9089: Missing signed-off-by line
|
|
Run compliance checks on patch series (PR):
Gitlint.txt#L0
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#commit-guidelines for more details.
Commit da2ac8a501:
1: UC2 Commit message does not contain a 'Signed-off-by:' line
1: UC3 Commit title does not follow [subsystem]: [subject] (and should not start with literal subsys or treewide): "temp default CLOCK_CONTROL_NRF=y, old solution check"
1: UC6 Commit message body is empty, should at least have 1 line(s).
3: B6 Body message is missing
|
|
Run compliance checks on patch series (PR):
DevicetreeLinting.txt#L0
See https://docs.zephyrproject.org/latest/contribute/style/devicetree.html for more details.
Not correctly formatted.:Index: a/dts/arm/nordic/nrf52805.dtsi
===================================================================
--- a/dts/arm/nordic/nrf52805.dtsi
+++ a/dts/arm/nordic/nrf52805.dtsi
@@ -126,8 +126,9 @@
bt_hci_sdc: bt_hci_sdc {
compatible = "nordic,bt-hci-sdc";
status = "okay";
};
+
bt_hci_controller: bt_hci_controller {
compatible = "zephyr,bt-hci-ll-sw-split";
status = "disabled";
};
File:dts/arm/nordic/nrf52805.dtsi
:Insert new lines. Expecting 2.
File:dts/arm/nordic/nrf52805.dtsi
Line:129
Column:5
EndLine:130
Not correctly formatted.:Index: a/dts/arm/nordic/nrf52810.dtsi
===================================================================
--- a/dts/arm/nordic/nrf52810.dtsi
+++ a/dts/arm/nordic/nrf52810.dtsi
@@ -134,8 +134,9 @@
bt_hci_sdc: bt_hci_sdc {
compatible = "nordic,bt-hci-sdc";
status = "okay";
};
+
bt_hci_controller: bt_hci_controller {
compatible = "zephyr,bt-hci-ll-sw-split";
status = "disabled";
};
File:dts/arm/nordic/nrf52810.dtsi
:Insert new lines. Expecting 2.
File:dts/arm/nordic/nrf52810.dtsi
Line:137
Column:5
EndLine:138
Not correctly formatted.:Index: a/dts/arm/nordic/nrf52811.dtsi
===================================================================
--- a/dts/arm/nordic/nrf52811.dtsi
+++ a/dts/arm/nordic/nrf52811.dtsi
@@ -142,8 +142,9 @@
bt_hci_sdc: bt_hci_sdc {
compatible = "nordic,bt-hci-sdc";
status = "okay";
};
+
bt_hci_controller: bt_hci_controller {
compatible = "zephyr,bt-hci-ll-sw-split";
status = "disabled";
};
File:dts/arm/nordic/nrf52811.dtsi
:Insert new lines. Expecting 2.
File:dts/arm/nordic/nrf52811.dtsi
Line:145
Column:5
EndLine:146
Not correctly formatted.:Index: a/dts/arm/nordic/nrf52820.dtsi
===================================================================
--- a/dts/arm/nordic/nrf52820.dtsi
+++ a/dts/arm/nordic/nrf52820.dtsi
@@ -143,8 +143,9 @@
bt_hci_sdc: bt_hci_sdc {
compatible = "nordic,bt-hci-sdc";
status = "okay";
};
+
bt_hci_controller: bt_hci_controller {
compatible = "zephyr,bt-hci-ll-sw-split";
status = "disabled";
};
File:dts/arm/nordic/nrf52820.dtsi
:Insert new lines. Expecting 2.
File:dts/arm/nordic/nrf52820.dtsi
Line:146
Column:5
EndLine:147
Not correctly formatted.:Index: a/dts/arm/nordic/nrf52832.dtsi
===================================================================
--- a/dts/arm/nordic/nrf52832.dtsi
+++ a/dts/arm/nordic/nrf52832.dtsi
@@ -134,8 +134,9 @@
bt_hci_sdc: bt_hci_sdc {
compatible = "nordic,bt-hci-sdc";
status = "okay";
};
+
bt_hci_controller: bt_hci_controller {
compatible = "zephyr,bt-hci-ll-sw-split";
status = "disabled";
};
File:dts/arm/nordic/nrf52832.dtsi
:Insert new lines. Expecting 2.
File:dts/arm/nordic/nrf52832.dtsi
Line:137
Column:5
EndLine:138
Not correctly formatted.:Index: a/dts/arm/nordic/nrf52833.dtsi
===================================================================
--- a/dts/arm/nordic/nrf52833.dtsi
+++ a/dts/arm/nordic/nrf52833.dtsi
@@ -144,8 +144,9 @@
bt_hci_sdc: bt_hci_sdc {
compatible = "nordic,bt-hci-sdc";
status = "okay";
};
+
bt_hci_controller: bt_hci_controller {
compatible = "zephyr,bt-hci-ll-sw-split";
status = "disabled";
};
File:dts/arm/nordic/nrf52833.dtsi
:Insert new lines. Expecting 2.
File:dts/arm/nordic/nrf52833.dtsi
Line:147
Column:5
EndLine:148
Not correctly formatted.:Index: a/dts/arm/nordic/nrf52840.dtsi
===================================================================
--- a/dts/arm/nordic/nrf52840.dtsi
+++ a/dts/arm/nordic/nrf52840.dtsi
@@ -138,8 +138,9 @@
bt_hci_sdc: bt_hci_sdc {
compatible = "nordic,bt-hci-sdc";
status = "okay";
};
+
bt_hci_controller: bt_hci_controller {
compatible = "zephyr,bt-hci-ll-sw-split";
status = "disabled";
};
File:dts/arm/nordic/nrf52840.dtsi
:Insert new lines. Expecting 2.
File:dts/arm/nordic/nrf52840.dtsi
Line:14
|
|
Run compliance checks on patch series (PR):
dts/arm/nordic/nrf52832.dtsi#L137
dts/arm/nordic/nrf52832.dtsi:137 Insert new lines. Expecting 2.
See https://docs.zephyrproject.org/latest/contribute/style/devicetree.html for more details.
|
|
Not correctly formatted.:
dts/arm/nordic/nrf52832.dtsi#L0
dts/arm/nordic/nrf52832.dtsi Index: a/dts/arm/nordic/nrf52832.dtsi
===================================================================
--- a/dts/arm/nordic/nrf52832.dtsi
+++ a/dts/arm/nordic/nrf52832.dtsi
@@ -134,8 +134,9 @@
bt_hci_sdc: bt_hci_sdc {
compatible = "nordic,bt-hci-sdc";
status = "okay";
};
+
bt_hci_controller: bt_hci_controller {
compatible = "zephyr,bt-hci-ll-sw-split";
status = "disabled";
};
See https://docs.zephyrproject.org/latest/contribute/style/devicetree.html for more details.
|
|
Run compliance checks on patch series (PR):
dts/arm/nordic/nrf52820.dtsi#L146
dts/arm/nordic/nrf52820.dtsi:146 Insert new lines. Expecting 2.
See https://docs.zephyrproject.org/latest/contribute/style/devicetree.html for more details.
|
|
Not correctly formatted.:
dts/arm/nordic/nrf52820.dtsi#L0
dts/arm/nordic/nrf52820.dtsi Index: a/dts/arm/nordic/nrf52820.dtsi
===================================================================
--- a/dts/arm/nordic/nrf52820.dtsi
+++ a/dts/arm/nordic/nrf52820.dtsi
@@ -143,8 +143,9 @@
bt_hci_sdc: bt_hci_sdc {
compatible = "nordic,bt-hci-sdc";
status = "okay";
};
+
bt_hci_controller: bt_hci_controller {
compatible = "zephyr,bt-hci-ll-sw-split";
status = "disabled";
};
See https://docs.zephyrproject.org/latest/contribute/style/devicetree.html for more details.
|
|
Run compliance checks on patch series (PR):
dts/arm/nordic/nrf52811.dtsi#L145
dts/arm/nordic/nrf52811.dtsi:145 Insert new lines. Expecting 2.
See https://docs.zephyrproject.org/latest/contribute/style/devicetree.html for more details.
|
|
Not correctly formatted.:
dts/arm/nordic/nrf52811.dtsi#L0
dts/arm/nordic/nrf52811.dtsi Index: a/dts/arm/nordic/nrf52811.dtsi
===================================================================
--- a/dts/arm/nordic/nrf52811.dtsi
+++ a/dts/arm/nordic/nrf52811.dtsi
@@ -142,8 +142,9 @@
bt_hci_sdc: bt_hci_sdc {
compatible = "nordic,bt-hci-sdc";
status = "okay";
};
+
bt_hci_controller: bt_hci_controller {
compatible = "zephyr,bt-hci-ll-sw-split";
status = "disabled";
};
See https://docs.zephyrproject.org/latest/contribute/style/devicetree.html for more details.
|
|
Run compliance checks on patch series (PR):
dts/arm/nordic/nrf52810.dtsi#L137
dts/arm/nordic/nrf52810.dtsi:137 Insert new lines. Expecting 2.
See https://docs.zephyrproject.org/latest/contribute/style/devicetree.html for more details.
|
|
Not correctly formatted.:
dts/arm/nordic/nrf52810.dtsi#L0
dts/arm/nordic/nrf52810.dtsi Index: a/dts/arm/nordic/nrf52810.dtsi
===================================================================
--- a/dts/arm/nordic/nrf52810.dtsi
+++ a/dts/arm/nordic/nrf52810.dtsi
@@ -134,8 +134,9 @@
bt_hci_sdc: bt_hci_sdc {
compatible = "nordic,bt-hci-sdc";
status = "okay";
};
+
bt_hci_controller: bt_hci_controller {
compatible = "zephyr,bt-hci-ll-sw-split";
status = "disabled";
};
See https://docs.zephyrproject.org/latest/contribute/style/devicetree.html for more details.
|
|
Run compliance checks on patch series (PR):
dts/arm/nordic/nrf52805.dtsi#L129
dts/arm/nordic/nrf52805.dtsi:129 Insert new lines. Expecting 2.
See https://docs.zephyrproject.org/latest/contribute/style/devicetree.html for more details.
|
|
Not correctly formatted.:
dts/arm/nordic/nrf52805.dtsi#L0
dts/arm/nordic/nrf52805.dtsi Index: a/dts/arm/nordic/nrf52805.dtsi
===================================================================
--- a/dts/arm/nordic/nrf52805.dtsi
+++ a/dts/arm/nordic/nrf52805.dtsi
@@ -126,8 +126,9 @@
bt_hci_sdc: bt_hci_sdc {
compatible = "nordic,bt-hci-sdc";
status = "okay";
};
+
bt_hci_controller: bt_hci_controller {
compatible = "zephyr,bt-hci-ll-sw-split";
status = "disabled";
};
See https://docs.zephyrproject.org/latest/contribute/style/devicetree.html for more details.
|
|
Run compliance checks on patch series (PR):
LicenseAndCopyrightCheck.txt#L0
Check SPDX headers and copyright lines with the reuse Python API.
License may not be allowed:License file for 'CC0-1.0' not found in /LICENSES. Please check https://docs.zephyrproject.org/latest/contribute/guidelines.html#components-using-other-licenses.
File:subsys/random/random_xoshiro128.c
Line:1
|
|
Run compliance checks on patch series (PR):
ClangFormat.txt#L0
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
You may want to run clang-format on this change:
-#define DMIC_NRFX_CLOCK_FREQ MHZ(32)
+#define DMIC_NRFX_CLOCK_FREQ MHZ(32)
File:drivers/audio/dmic_nrfx_pdm.c
Line:24
You may want to run clang-format on this change:
-#define AUDIO_FREQUENCY_DEFINED (DT_NODE_HAS_PROP(DT_NODELABEL(clock), hfclkaudio_frequency) || \
- DT_NODE_HAS_PROP(DT_NODELABEL(aclk), clock_frequency))
+#define AUDIO_FREQUENCY_DEFINED \
+ (DT_NODE_HAS_PROP(DT_NODELABEL(clock), hfclkaudio_frequency) || \
+ DT_NODE_HAS_PROP(DT_NODELABEL(aclk), clock_frequency))
#elif defined(CONFIG_CLOCK_CONTROL_NRFX_HFCLKAUDIO)
#define DMIC_NRFX_AUDIO_CLOCK_FREQ \
DT_PROP_OR(DT_NODELABEL(aclk), clock_frequency, \
- DT_PROP_OR(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_hfclkaudio), \
+ DT_PROP_OR(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_hfclkaudio), \
hfclkaudio_frequency, 0))
#define AUDIO_ASSERT_MSG \
"Clock source ACLK requires hfclkaudio_frequency property to be set in the hfclkaudio " \
"node."
-#define AUDIO_FREQUENCY_DEFINED DT_NODE_HAS_PROP( \
- DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_hfclkaudio), hfclkaudio_frequency)
+#define AUDIO_FREQUENCY_DEFINED \
+ DT_NODE_HAS_PROP(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_hfclkaudio), \
+ hfclkaudio_frequency)
#elif defined(CONFIG_CLOCK_CONTROL_NRFX_XO24M)
#define DMIC_NRFX_AUDIO_CLOCK_FREQ \
DT_PROP_OR(DT_NODELABEL(aclk), clock_frequency, \
- DT_PROP_OR(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_xo24m), \
+ DT_PROP_OR(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_xo24m), \
clock_frequency, 0))
#define AUDIO_ASSERT_MSG \
"Clock source ACLK requires clock_frequency property to be set in the xo24m node."
-#define AUDIO_FREQUENCY_DEFINED DT_NODE_HAS_PROP( \
- DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_xo24m), clock_frequency)
+#define AUDIO_FREQUENCY_DEFINED \
+ DT_NODE_HAS_PROP(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_xo24m), clock_frequency)
#elif defined(CONFIG_CLOCK_CONTROL_NRFX_XO)
#define DMIC_NRFX_AUDIO_CLOCK_FREQ \
DT_PROP_OR(DT_NODELABEL(aclk), clock_frequency, \
- DT_PROP_OR(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_xo), \
- clock_frequency, 0))
+ DT_PROP_OR(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_xo), clock_frequency, \
+ 0))
#define AUDIO_ASSERT_MSG \
"Clock source ACLK requires clock_frequency property to be set in the xo node."
-#define AUDIO_FREQUENCY_DEFINED DT_NODE_HAS_PROP( \
- DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_xo), clock_frequency)
+#define AUDIO_FREQUENCY_DEFINED \
+ DT_NODE_HAS_PROP(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_xo), clock_frequency)
File:drivers/audio/dmic_nrfx_pdm.c
Line:92
You may want to run clang-format on this change:
- drv_data->request_clock = (drv_cfg->clk_src != PCLK32M &&
- (IS_ENABLED(CONFIG_CLOCK_CONTROL_NRF) ||
- IS_ENABLED(CONFIG_CLOCK_CONTROL_NRFX_COMMON
|
|
License may not be allowed:
subsys/random/random_xoshiro128.c#L1
subsys/random/random_xoshiro128.c:1 License file for 'CC0-1.0' not found in /LICENSES. Please check https://docs.zephyrproject.org/latest/contribute/guidelines.html#components-using-other-licenses.
Check SPDX headers and copyright lines with the reuse Python API.
|
|
You may want to run clang-format on this change:
drivers/clock_control/clock_control_nrf_common.c#L141
drivers/clock_control/clock_control_nrf_common.c:141
- struct clock_config_generic *cfg =
- CONTAINER_OF(work, struct clock_config_generic, work);
+ struct clock_config_generic *cfg = CONTAINER_OF(work, struct clock_config_generic, work);
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/clock_control/clock_control_nrf_common.c#L102
drivers/clock_control/clock_control_nrf_common.c:102
- .stop = onoff_stop_option,
+ .stop = onoff_stop_option,
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/clock_control/clock_control_nrf_common.c#L83
drivers/clock_control/clock_control_nrf_common.c:83
-static void onoff_reset_option(struct onoff_manager *mgr,
- onoff_notify_fn notify)
+static void onoff_reset_option(struct onoff_manager *mgr, onoff_notify_fn notify)
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/clock_control/clock_control_nrf_common.c#L74
drivers/clock_control/clock_control_nrf_common.c:74
-static void onoff_stop_option(struct onoff_manager *mgr,
- onoff_notify_fn notify)
-{
- struct clock_onoff *onoff =
- CONTAINER_OF(mgr, struct clock_onoff, mgr);
+static void onoff_stop_option(struct onoff_manager *mgr, onoff_notify_fn notify)
+{
+ struct clock_onoff *onoff = CONTAINER_OF(mgr, struct clock_onoff, mgr);
struct clock_config_generic *cfg =
- CONTAINER_OF_ITEM(onoff, onoff->idx,
- struct clock_config_generic, onoff);
+ CONTAINER_OF_ITEM(onoff, onoff->idx, struct clock_config_generic, onoff);
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/clock_control/clock_control_nrf_common.c#L59
drivers/clock_control/clock_control_nrf_common.c:59
-static void onoff_start_option(struct onoff_manager *mgr,
- onoff_notify_fn notify)
-{
- struct clock_onoff *onoff =
- CONTAINER_OF(mgr, struct clock_onoff, mgr);
+static void onoff_start_option(struct onoff_manager *mgr, onoff_notify_fn notify)
+{
+ struct clock_onoff *onoff = CONTAINER_OF(mgr, struct clock_onoff, mgr);
struct clock_config_generic *cfg =
- CONTAINER_OF_ITEM(onoff, onoff->idx,
- struct clock_config_generic, onoff);
+ CONTAINER_OF_ITEM(onoff, onoff->idx, struct clock_config_generic, onoff);
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/clock_control/clock_control_nrf_common.c#L21
drivers/clock_control/clock_control_nrf_common.c:21
-#define CONTAINER_OF_ITEM(ptr, idx, type, array) \
- (type *)((char *)ptr - \
- (idx * sizeof(array[0])) - \
- offsetof(type, array[0]))
+#define CONTAINER_OF_ITEM(ptr, idx, type, array) \
+ (type *)((char *)ptr - (idx * sizeof(array[0])) - offsetof(type, array[0]))
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/audio/dmic_nrfx_pdm.c#L573
drivers/audio/dmic_nrfx_pdm.c:573
- drv_data->clk_dev = DEVICE_DT_GET_ONE(COND_CODE_1(NRF_CLOCK_HAS_HFCLK,
+ drv_data->clk_dev = DEVICE_DT_GET_ONE(
+ COND_CODE_1(NRF_CLOCK_HAS_HFCLK,
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/audio/dmic_nrfx_pdm.c#L394
drivers/audio/dmic_nrfx_pdm.c:394
- drv_data->request_clock = (drv_cfg->clk_src != PCLK32M &&
- (IS_ENABLED(CONFIG_CLOCK_CONTROL_NRF) ||
- IS_ENABLED(CONFIG_CLOCK_CONTROL_NRFX_COMMON)));
+ drv_data->request_clock =
+ (drv_cfg->clk_src != PCLK32M && (IS_ENABLED(CONFIG_CLOCK_CONTROL_NRF) ||
+ IS_ENABLED(CONFIG_CLOCK_CONTROL_NRFX_COMMON)));
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/audio/dmic_nrfx_pdm.c#L92
drivers/audio/dmic_nrfx_pdm.c:92
-#define AUDIO_FREQUENCY_DEFINED (DT_NODE_HAS_PROP(DT_NODELABEL(clock), hfclkaudio_frequency) || \
- DT_NODE_HAS_PROP(DT_NODELABEL(aclk), clock_frequency))
+#define AUDIO_FREQUENCY_DEFINED \
+ (DT_NODE_HAS_PROP(DT_NODELABEL(clock), hfclkaudio_frequency) || \
+ DT_NODE_HAS_PROP(DT_NODELABEL(aclk), clock_frequency))
#elif defined(CONFIG_CLOCK_CONTROL_NRFX_HFCLKAUDIO)
#define DMIC_NRFX_AUDIO_CLOCK_FREQ \
DT_PROP_OR(DT_NODELABEL(aclk), clock_frequency, \
- DT_PROP_OR(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_hfclkaudio), \
+ DT_PROP_OR(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_hfclkaudio), \
hfclkaudio_frequency, 0))
#define AUDIO_ASSERT_MSG \
"Clock source ACLK requires hfclkaudio_frequency property to be set in the hfclkaudio " \
"node."
-#define AUDIO_FREQUENCY_DEFINED DT_NODE_HAS_PROP( \
- DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_hfclkaudio), hfclkaudio_frequency)
+#define AUDIO_FREQUENCY_DEFINED \
+ DT_NODE_HAS_PROP(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_hfclkaudio), \
+ hfclkaudio_frequency)
#elif defined(CONFIG_CLOCK_CONTROL_NRFX_XO24M)
#define DMIC_NRFX_AUDIO_CLOCK_FREQ \
DT_PROP_OR(DT_NODELABEL(aclk), clock_frequency, \
- DT_PROP_OR(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_xo24m), \
+ DT_PROP_OR(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_xo24m), \
clock_frequency, 0))
#define AUDIO_ASSERT_MSG \
"Clock source ACLK requires clock_frequency property to be set in the xo24m node."
-#define AUDIO_FREQUENCY_DEFINED DT_NODE_HAS_PROP( \
- DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_xo24m), clock_frequency)
+#define AUDIO_FREQUENCY_DEFINED \
+ DT_NODE_HAS_PROP(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_xo24m), clock_frequency)
#elif defined(CONFIG_CLOCK_CONTROL_NRFX_XO)
#define DMIC_NRFX_AUDIO_CLOCK_FREQ \
DT_PROP_OR(DT_NODELABEL(aclk), clock_frequency, \
- DT_PROP_OR(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_xo), \
- clock_frequency, 0))
+ DT_PROP_OR(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_xo), clock_frequency, \
+ 0))
#define AUDIO_ASSERT_MSG \
"Clock source ACLK requires clock_frequency property to be set in the xo node."
-#define AUDIO_FREQUENCY_DEFINED DT_NODE_HAS_PROP( \
- DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_xo), clock_frequency)
+#define AUDIO_FREQUENCY_DEFINED \
+ DT_NODE_HAS_PROP(DT_COMPAT_GET_ANY_STATUS_OKAY(nordic_nrf_clock_xo), clock_frequency)
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/audio/dmic_nrfx_pdm.c#L24
drivers/audio/dmic_nrfx_pdm.c:24
-#define DMIC_NRFX_CLOCK_FREQ MHZ(32)
+#define DMIC_NRFX_CLOCK_FREQ MHZ(32)
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
compliance.xml
|
11.8 KB |
sha256:03f13b0af968806f517080662e7ff61f3e610f664fc68ef22814477b0f74e5ff
|
|
|
dts_linter.patch
|
468 Bytes |
sha256:81dfc8db8fae07d38614ad8716327f591a5196eb17466b7f9a9c54c5ff902685
|
|