Re: [PATCH v2] i2c: imx-lpi2c: Fix runtime PM imbalance on error in lpi2c_imx_master_enable()

From: Markus Elfring
Date: Sun May 31 2020 - 03:02:38 EST


> pm_runtime_get_sync() increments the runtime PM usage counter even
> the call returns an error code. Thus a pairing decrement is needed
> on the error handling path to keep the counter balanced.

* How do you think about to replace the word âpairingâ by âcorrespondingâ?

* Will it be helpful to add an imperative wording?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=ffeb595d84811dde16a28b33d8a7cf26d51d51b3#n151

* Would you like to add the tag âFixesâ to the commit message?

* Are you going to take such possibilities into account for any more patches?

Regards,
Markus