]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
spi/stmicro: fix debug() display of cmd
authorMike Frysinger <vapier@gentoo.org>
Thu, 11 Dec 2008 23:39:08 +0000 (18:39 -0500)
committerWolfgang Denk <wd@denx.de>
Mon, 15 Dec 2008 23:48:18 +0000 (00:48 +0100)
commit84bc72d90c505fec3ef4b693995407a0bd4064e5
treef64487f123aa31a043eaea00ef2a718262546b6b
parent5b3375ac8c36c29c87abb132fede0509eb21e5c9
spi/stmicro: fix debug() display of cmd

The stmicro_wait_ready() func tries to show the actual opcode that was sent
to the device, but instead it displays the array pointer.  Fix it to pull
out the opcode from the start of the array.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/mtd/spi/stmicro.c