]> git.baikalelectronics.ru Git - kernel.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)
commit3c7d26bd09851ffeecb0df3f9a0b2fac45b74236
treed959cf8356b78fe9edcf7a4d2d588403f1a66573
parent1df511424ba2260b4f88276b8f6961025143d196
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