commit | 80b435a3f35795600654e9705f4b3fbbcc427a9d | [log] [tgz] |
---|---|---|
author | Arpad Horvath <secracon@gmail.com> | Fri Feb 14 16:42:27 2014 -0800 |
committer | JP Abgrall <jpa@google.com> | Fri Feb 14 16:50:27 2014 -0800 |
tree | 4dd4f4f5cb43c520464070a8a3188691f652fab9 | |
parent | d0307beeef57b9db06b82f1ffba746c5decb0b72 [diff] |
sdcard: direct I/O file access fix If a file is opened in direct I/O mode (with O_DIRECT flag), the read buffer addess must be aligned to memory page size boundary. The Direct I/O is not needed for normal files, however, some special hardware access (e.g. smart SD cards) will not work without it. Change-Id: I42babeee86dba1880fd23e2592fddd7060da3e20