Skip to content
Commit fd43f16c authored by Lubomir Rintel's avatar Lubomir Rintel Committed by Andy Shevchenko
Browse files

Platform: OLPC: Fix olpc_xo175_ec_cmd() return value



Reset the ret variable to make sure it olpc_xo175_ec_cmd() ends up
returning zero on success.

Fixes: 0c3d931b ("Platform: OLPC: Add XO-1.75 EC driver")
Signed-off-by: default avatarLubomir Rintel <lkundrak@v3.sk>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent b8a84365
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment