Patch "mei: hbm: call mei_set_devstate() on hbm stop response" has been added to the 5.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    mei: hbm: call mei_set_devstate() on hbm stop response

to the 5.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     mei-hbm-call-mei_set_devstate-on-hbm-stop-response.patch
and it can be found in the queue-5.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 8d984217285b2e8ad4cdfed6429dcaf36a44dee4
Author: Alexander Usyskin <alexander.usyskin@xxxxxxxxx>
Date:   Fri Jan 29 14:07:48 2021 +0200

    mei: hbm: call mei_set_devstate() on hbm stop response
    
    [ Upstream commit 3a77df62deb2e62de0dc26c1cb763cc152329287 ]
    
    Use mei_set_devstate() wrapper upon hbm stop command response,
    to trigger sysfs event.
    
    Fixes: 43b8a7ed4739 ("mei: expose device state in sysfs")
    Signed-off-by: Alexander Usyskin <alexander.usyskin@xxxxxxxxx>
    Signed-off-by: Tomas Winkler <tomas.winkler@xxxxxxxxx>
    Link: https://lore.kernel.org/r/20210129120752.850325-3-tomas.winkler@xxxxxxxxx
    Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/misc/mei/hbm.c b/drivers/misc/mei/hbm.c
index a97eb5d47705d..33579d9795c32 100644
--- a/drivers/misc/mei/hbm.c
+++ b/drivers/misc/mei/hbm.c
@@ -1373,7 +1373,7 @@ int mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr)
 			return -EPROTO;
 		}
 
-		dev->dev_state = MEI_DEV_POWER_DOWN;
+		mei_set_devstate(dev, MEI_DEV_POWER_DOWN);
 		dev_info(dev->dev, "hbm: stop response: resetting.\n");
 		/* force the reset */
 		return -EPROTO;



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux