mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 20:07:09 +00:00
mei: hbm: warn about fw-initiated disconnect
The FW can initiate client disconnection only because an error condition, hence it make sense to bump the debug message to the warning level to have an entery in the log. Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f4e0624618
commit
6938c1923f
@ -245,6 +245,9 @@ void mei_cl_all_disconnect(struct mei_device *dev);
|
|||||||
#define cl_dbg(dev, cl, format, arg...) \
|
#define cl_dbg(dev, cl, format, arg...) \
|
||||||
dev_dbg((dev)->dev, MEI_CL_FMT format, MEI_CL_PRM(cl), ##arg)
|
dev_dbg((dev)->dev, MEI_CL_FMT format, MEI_CL_PRM(cl), ##arg)
|
||||||
|
|
||||||
|
#define cl_warn(dev, cl, format, arg...) \
|
||||||
|
dev_warn((dev)->dev, MEI_CL_FMT format, MEI_CL_PRM(cl), ##arg)
|
||||||
|
|
||||||
#define cl_err(dev, cl, format, arg...) \
|
#define cl_err(dev, cl, format, arg...) \
|
||||||
dev_err((dev)->dev, MEI_CL_FMT format, MEI_CL_PRM(cl), ##arg)
|
dev_err((dev)->dev, MEI_CL_FMT format, MEI_CL_PRM(cl), ##arg)
|
||||||
|
|
||||||
|
@ -866,7 +866,7 @@ static int mei_hbm_fw_disconnect_req(struct mei_device *dev,
|
|||||||
|
|
||||||
cl = mei_hbm_cl_find_by_cmd(dev, disconnect_req);
|
cl = mei_hbm_cl_find_by_cmd(dev, disconnect_req);
|
||||||
if (cl) {
|
if (cl) {
|
||||||
cl_dbg(dev, cl, "fw disconnect request received\n");
|
cl_warn(dev, cl, "fw disconnect request received\n");
|
||||||
cl->state = MEI_FILE_DISCONNECTING;
|
cl->state = MEI_FILE_DISCONNECTING;
|
||||||
cl->timer_count = 0;
|
cl->timer_count = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user