Skip to content

Commit 579f50c

Browse files
committed
Merge tag 'hsi-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi
Pull HSI update from Sebastian Reichel: - runtime PM usage counter fix * tag 'hsi-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi: HSI: Fix PM usage counter unbalance in ssi_hw_init
2 parents a7dcf5f + aa57e77 commit 579f50c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hsi/controllers/omap_ssi_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ static int ssi_hw_init(struct hsi_controller *ssi)
424424
struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi);
425425
int err;
426426

427-
err = pm_runtime_get_sync(ssi->device.parent);
427+
err = pm_runtime_resume_and_get(ssi->device.parent);
428428
if (err < 0) {
429429
dev_err(&ssi->device, "runtime PM failed %d\n", err);
430430
return err;

0 commit comments

Comments
 (0)