Commit 480422b
FROMLIST: ASoC: codecs: lpass-wsa-macro: Guard optional NPL clock rate programming
The NPL clock is only present on some platforms. When it is absent,
wsa->npl remains NULL, but the driver unconditionally programs its rate.
Guard clk_set_rate() for the NPL clock so platforms without NPL do not
attempt to access it.
No functional change on platforms that provide the NPL clock.
Link: https://lore.kernel.org/all/20260413121824.375473-4-ajay.nandam@oss.qualcomm.com/
Signed-off-by: Ajay Kumar Nandam <ajay.nandam@oss.qualcomm.com>1 parent 579a1e2 commit 480422b
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2885 | 2885 | | |
2886 | 2886 | | |
2887 | 2887 | | |
2888 | | - | |
| 2888 | + | |
| 2889 | + | |
2889 | 2890 | | |
2890 | 2891 | | |
2891 | 2892 | | |
| |||
0 commit comments