diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-16 10:02:16 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-26 16:14:12 +0200 |
commit | f1076eedef167ae28740a6844985a064a474fdfa (patch) | |
tree | 6cf8004c5f3c667e80f93bfb89066aa3b6db6d3d /flash_info.c | |
parent | 96a4f76f2e9dad7fdbd6fd7740de44bc90d5769e (diff) |
nandwrite: correct data reading
The "read" syscall does not necessarily return all the requested
data, in which case the caller has to try again and read more.
Take this into account when reading input data.
This patch is an improved vestion of the original patch sent by
Hai Zaar.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tested-by: Hai Zaar <haizaar@codefidence.com>
Diffstat (limited to 'flash_info.c')
0 files changed, 0 insertions, 0 deletions