diff options
author | Tomas Winkler | 2013-01-08 22:07:23 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2013-01-09 01:40:46 +0100 |
commit | 6222f7bf8d7e2b16ffcc14bcb2c32ea069aac9fa (patch) | |
tree | 598fa39195c2081171e594cc42be93df0254b27c /drivers/misc/mei/amthif.c | |
parent | mei: normalize me host client linking routines (diff) | |
download | kernel-qcow2-linux-6222f7bf8d7e2b16ffcc14bcb2c32ea069aac9fa.tar.gz kernel-qcow2-linux-6222f7bf8d7e2b16ffcc14bcb2c32ea069aac9fa.tar.xz kernel-qcow2-linux-6222f7bf8d7e2b16ffcc14bcb2c32ea069aac9fa.zip |
mei: move MEI_IAMTHIF_IDLE to amthif host init function
Since the amthif state is not examined until amthif is connected
we can safely move it to the amthif host init function
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/amthif.c')
-rw-r--r-- | drivers/misc/mei/amthif.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/mei/amthif.c b/drivers/misc/mei/amthif.c index 88e6aa0f6b4e..7199e8369f1e 100644 --- a/drivers/misc/mei/amthif.c +++ b/drivers/misc/mei/amthif.c @@ -71,6 +71,8 @@ int mei_amthif_host_init(struct mei_device *dev) unsigned char *msg_buf; int ret, i; + dev->iamthif_state = MEI_IAMTHIF_IDLE; + mei_cl_init(cl, dev); i = mei_me_cl_by_uuid(dev, &mei_amthif_guid); |