commit | 8bc958a18245100fc5ef99546feef445ba43d9f1 | [log] [tgz] |
---|---|---|
author | Nicolae Rosia <nicolae.rosia@gmail.com> | Thu Oct 13 13:47:53 2016 +0300 |
committer | Tom Rini <trini@konsulko.com> | Mon Oct 24 08:04:38 2016 -0400 |
tree | 525690da9d482af91fcb4da2f3c9e7036506ff86 | |
parent | 7fbe42e87106d7f1a689a32b31c8acbb4826b36c [diff] |
power: twl6030: fix code refactoring Commit a85362fb3e1fc7833723accddbbae431091d06b8 refactored the code but the register read ended up in the wrong if branch. Currently, the else branch checks a variable which is always 0. Signed-off-by: Nicolae Rosia <nicolae_rosia@mentor.com> Reviewed-by: Tom Rini <trini@konsulko.com>