Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/linux-sunxi/sunxi-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'fel_lib.c')
-rw-r--r--fel_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fel_lib.c b/fel_lib.c
index dfb8e98..b1c4ae8 100644
--- a/fel_lib.c
+++ b/fel_lib.c
@@ -623,7 +623,7 @@ int fel_read_sid(feldev_handle *dev, uint32_t *result,
else
/* Read SID directly from memory */
fel_readl_n(dev, soc->sid_base + soc->sid_offset + offset,
- result, length);
+ result, length / 4);
return 0;
}