Skip to content

Some optimization for Spreadtrum hwlock controller

Baolin Wang linux-remoteproc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hwspinlock: sprd: Change to use devm_platform_ioremap_resource()drivers/hwspinlock/sprd_hwspinlock.c+1 -30 replies
2/4hwspinlock: sprd: Check the return value of clk_prepare_enable()drivers/hwspinlock/sprd_hwspinlock.c+3 -10 replies
3/4hwspinlock: sprd: Use devm_add_action_or_reset() for calls to clk_disable_unprepare()drivers/hwspinlock/sprd_hwspinlock.c+15 -20 replies
4/4hwspinlock: sprd: Use devm_hwspin_lock_register() to register hwlock controllerdrivers/hwspinlock/sprd_hwspinlock.c+3 -51 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Some optimization for Spreadtrum hwlock controller

This patch set did some optimization for Spreadtrum hwlock controller, including using some devm_xxx APIs to simplify code and validating the return value when enabling clock.

Baolin Wang (4):
hwspinlock: sprd: Change to use devm_platform_ioremap_resource()
hwspinlock: sprd: Check the return value of clk_prepare_enable()
hwspinlock: sprd: Use devm_add_action_or_reset() for calls to
clk_disable_unprepare()
hwspinlock: sprd: Use devm_hwspin_lock_register() to register hwlock
controller

 drivers/hwspinlock/sprd_hwspinlock.c |   33 ++++++++++++++++++++++-----------
 1 file changed, 22 insertions(+), 11 deletions(-)
Signature · 1 line
1.7.9.5