1wrie:fix typo
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
b2c1930825
commit
ebecd81de7
@ -152,7 +152,7 @@ static int onewire_pm_prepare(FAR struct pm_callback_s *cb, int domain,
|
|||||||
|
|
||||||
/* Check if exclusive lock for the bus master is held. */
|
/* Check if exclusive lock for the bus master is held. */
|
||||||
|
|
||||||
if (nxrmutex_is_locked(&master->devlock)
|
if (nxrmutex_is_locked(&master->devlock))
|
||||||
{
|
{
|
||||||
/* Exclusive lock is held, do not allow entry to deeper PM
|
/* Exclusive lock is held, do not allow entry to deeper PM
|
||||||
* states.
|
* states.
|
||||||
|
Loading…
Reference in New Issue
Block a user