mtd: m25p80: make command buffer DMA-safe
authorJohannes Stezenbach <js@sig21.net>
Wed, 28 Oct 2009 13:21:37 +0000 (14:21 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 Nov 2009 09:49:52 +0000 (09:49 +0000)
commit61c3506c2cabe58bcdfe438d1e57b62994db1616
treec0e0138f8edd45e906c56adf1a2db3e4d82fccbe
parent74218fedf478323cce831b51507eebd1faf0bf7f
mtd: m25p80: make command buffer DMA-safe

spi_write() requires the buffer to be DMA-safe, kmalloc()
it seperately to ensure this.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/m25p80.c