Skip to content

Conversation

@QTI-Quill
Copy link

The lpass LPI pinctrl driver previously used clk_bulk to request both "core" and "audio" clocks unconditionally. On some targets such as QCS615, the audio clock is not required and may not be present, which causes probe failures.

Refactor the driver to:

  • request "audio" clock via devm_clk_get_optional()
  • enable audio clock only if available
  • adjust error/unwind paths accordingly

This allows the driver to work on platforms without an audio clock.

The lpass LPI pinctrl driver previously used clk_bulk to request both
"core" and "audio" clocks unconditionally. On some targets such as
QCS615, the audio clock is not required and may not be present, which
causes probe failures.

Refactor the driver to:
- request "audio" clock via devm_clk_get_optional()
- enable audio clock only if available
- adjust error/unwind paths accordingly

This allows the driver to work on platforms without an audio clock.

Signed-off-by: Le Qi <le.qi@oss.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant