Commit f38409d
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 b5d46ed commit f38409d
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2774 | 2774 | | |
2775 | 2775 | | |
2776 | 2776 | | |
2777 | | - | |
| 2777 | + | |
| 2778 | + | |
2778 | 2779 | | |
2779 | 2780 | | |
2780 | 2781 | | |
| |||
0 commit comments