On Wed, Oct 12, 2011 at 09:32:02AM +0200, Christian Hitz wrote:
> [backport from linux commit 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe]
>
> This patch synchronizes the nand driver with the Linux 3.0 state.
>
> Signed-off-by: Christian Hitz
> Cc: Scott Wood
> ---
>
> Adds 968 bytes to the image
On Wed, Oct 12, 2011 at 09:32:02AM +0200, Christian Hitz wrote:
> @@ -1862,6 +1927,13 @@ static int nand_do_write_ops(struct mtd_info *mtd,
> loff_t to,
> if (!writelen)
> return 0;
>
> + /* reject writes, which are not page aligned */
> + if (NOTALIGNED(to) || NOTALI
2 matches
Mail list logo