Skip to content

[nrf fromlist] drivers: i2s: nrfx_i2s: introduce prescaler calculation #12454

[nrf fromlist] drivers: i2s: nrfx_i2s: introduce prescaler calculation

[nrf fromlist] drivers: i2s: nrfx_i2s: introduce prescaler calculation #12454

Triggered via pull request October 10, 2025 12:44
Status Failure
Total duration 3m 43s
Artifacts 1

compliance.yml

on: pull_request
Run compliance checks on patch series (PR)
2m 56s
Run compliance checks on patch series (PR)
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 2 warnings, and 1 notice
Run compliance checks on patch series (PR)
Process completed with exit code 1.
Run compliance checks on patch series (PR): Checkpatch.txt#L0
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#coding-style for more details. BLOCK_COMMENT_STYLE: Block comments should align the * on each line File:drivers/i2s/i2s_nrfx.c Line:71
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: - /* The I2S_NRFX_DEVICE() macro contains build assertions that - * make sure that the ACLK clock source is only used when it is - * available and only with the "hfclkaudio-frequency" property - * defined, but the default value of 0 here needs to be used to - * prevent compilation errors when the property is not defined - * (this expression will be eventually optimized away then). - */ - ? DT_PROP_OR(DT_NODELABEL(clock), hfclkaudio_frequency, 0) - : 32*1000*1000UL, + /* The I2S_NRFX_DEVICE() macro contains build assertions that + * make sure that the ACLK clock source is only used when it is + * available and only with the "hfclkaudio-frequency" property + * defined, but the default value of 0 here needs to be used to + * prevent compilation errors when the property is not defined + * (this expression will be eventually optimized away then). + */ + ? DT_PROP_OR(DT_NODELABEL(clock), hfclkaudio_frequency, 0) + : 32 * 1000 * 1000UL, File:drivers/i2s/i2s_nrfx.c Line:79
BLOCK_COMMENT_STYLE: drivers/i2s/i2s_nrfx.c#L71
drivers/i2s/i2s_nrfx.c:71 Block comments should align the * on each line
You may want to run clang-format on this change: drivers/i2s/i2s_nrfx.c#L79
drivers/i2s/i2s_nrfx.c:79 - /* The I2S_NRFX_DEVICE() macro contains build assertions that - * make sure that the ACLK clock source is only used when it is - * available and only with the "hfclkaudio-frequency" property - * defined, but the default value of 0 here needs to be used to - * prevent compilation errors when the property is not defined - * (this expression will be eventually optimized away then). - */ - ? DT_PROP_OR(DT_NODELABEL(clock), hfclkaudio_frequency, 0) - : 32*1000*1000UL, + /* The I2S_NRFX_DEVICE() macro contains build assertions that + * make sure that the ACLK clock source is only used when it is + * available and only with the "hfclkaudio-frequency" property + * defined, but the default value of 0 here needs to be used to + * prevent compilation errors when the property is not defined + * (this expression will be eventually optimized away then). + */ + ? DT_PROP_OR(DT_NODELABEL(clock), hfclkaudio_frequency, 0) + : 32 * 1000 * 1000UL,

Artifacts

Produced during runtime
Name Size Digest
compliance.xml
1009 Bytes
sha256:d620280ba9f9a918982b04db54d44fb0ff6dbbf127edccccd784e68bd8718a4d