Skip to content

Commit

Permalink
pm: device_runtime: Just fix a comment
Browse files Browse the repository at this point in the history
Fixing the comment about powering a device on in pre-kernel.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
  • Loading branch information
Flavio Ceolin authored and nashif committed May 7, 2021
1 parent 565014a commit 86a8ab5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions subsys/pm/device_runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ static int pm_device_request(const struct device *dev,

/* Unfortunately this is not what is happening yet. There are
* cases, for example, like the pinmux being initialized before
* the gpio. For that reason let's power on/off the device
* here until we don't have it properly fixed.
* the gpio. Lets just power on/off the device.
*/
if (dev->pm->usage == 1) {
(void)pm_device_state_set(dev,
Expand Down

0 comments on commit 86a8ab5

Please sign in to comment.