mtd: m25p80: Use OPCODE_QUAD_READ_4B for 4-byte addressing
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Wed, 15 Jan 2014 15:48:55 +0000 (16:48 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 16 Jan 2014 21:02:49 +0000 (13:02 -0800)
commit7587f64d546d6a05dab0a7d1ac964e7ac12072f0
tree4ec0ae05504a96f323bc42695059b0a12942df11
parent05f7835975dad6b3b517f9e23415985e648fb875
mtd: m25p80: Use OPCODE_QUAD_READ_4B for 4-byte addressing

commit 3487a63955c34ea508bcf4ca5131ddd953876e2d ("drivers: mtd: m25p80: add
quad read support") in -next added both the 3-byte OPCODE_QUAD_READ and the
4-byte OPCODE_QUAD_READ_4B, but incorrectly uses OPCODE_QUAD_READ for both
3-byte and 4-byte addressing.

Use OPCODE_QUAD_READ_4B in the 4-byte case to fix this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/m25p80.c