mei: clean pending read with vtag on bus
authorAlexander Usyskin <alexander.usyskin@intel.com>
Wed, 25 Jan 2023 08:26:34 +0000 (00:26 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 27 Jan 2023 20:22:11 +0000 (15:22 -0500)
commitf17ef47b0442c284b71178a12e2865a85b895287
tree94f0698774c281cd2be4c391ca5ed7e1d95992c7
parent6e52ced02392c760936159cc53da5669c94dd9a3
mei: clean pending read with vtag on bus

Client on bus have only one vtag map slot and should disregard the vtag
value when cleaning pending read flag.
Fixes read flow control message unexpectedly generated when
clent on bus send messages with different vtags.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Reviewed-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230125082637.118970-4-alan.previn.teres.alexis@intel.com
drivers/misc/mei/client.c