]> git.karo-electronics.de Git - linux-beck.git/commit
mei: mei_cl_connect: don't multiply the timeout twice
authorFrode Isaksen <fisaksex@intel.com>
Sun, 23 Jun 2013 06:37:01 +0000 (09:37 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Jun 2013 23:32:31 +0000 (16:32 -0700)
commit206ecfc21121aa272f3f9fa23e1ed252a12e8a5c
treed959cf8356b78fe9edcf7a4d2d588403f1a66573
parent4dfaa9f7020b1ff4bf87899f4797d2efd76e80fd
mei: mei_cl_connect: don't multiply the timeout twice

MEI_CL_CONNECT_TIMEOUT is the timeout in seconds to wait
for a response in mei_cl_connect.
The value was converted to jiffies using mei_secs_to_jiffies
helper function and assigned to a local variable
which is by mistake again multiplied by HZ

Signed-off-by: Frode Isaksen <frodex.isaksen@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/client.c