From 76bc5fdf46ce003f3f370998c1b3ed45fe8775c3 Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Tue, 3 Jun 2014 16:44:41 +0300 Subject: [PATCH] quick_dump: fix typo breaking dpio reg dumps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Imre Deak Reviewed-by: Ville Syrjälä --- tools/quick_dump/quick_dump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/quick_dump/quick_dump.py b/tools/quick_dump/quick_dump.py index 2eb77248..ac8cede6 100755 --- a/tools/quick_dump/quick_dump.py +++ b/tools/quick_dump/quick_dump.py @@ -38,7 +38,7 @@ def parse_file(file): register = ast.literal_eval(line) if register[2] == 'DPIO': val = reg.dpio_read(register[1], 0) - if register[2] == 'FLISDSI': + elif register[2] == 'FLISDSI': val = reg.flisdsi_read(register[1]) else: val = reg.read(register[1])