diff options
author | Kevin Hilman <khilman@ti.com> | 2011-02-11 19:56:43 +0000 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-14 13:19:41 -0800 |
commit | c03773206bf2249a890c4d420ed32ef500630095 (patch) | |
tree | 0e07e684338994dfdb48df1a80d1ac97f7b35402 /arch/avr32/lib/io-readsb.S | |
parent | eca83258f1d81575576ca553075c641849150f23 (diff) | |
download | linux-c03773206bf2249a890c4d420ed32ef500630095.tar.gz linux-c03773206bf2249a890c4d420ed32ef500630095.tar.bz2 linux-c03773206bf2249a890c4d420ed32ef500630095.zip |
OMAP2+: mailbox: fix lookups for multiple mailboxes
The pointer math in omap_mbox_get() is not quite right, and leads to
passing NULL to strcmp() when searching for an mbox that is not first
in the list.
Convert to using array indexing as is done in all the other functions
which walk the mbox list.
Tested on OMAP2420/n810, OMAP3630/zoom3, OMAP4430/Blaze
Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/avr32/lib/io-readsb.S')
0 files changed, 0 insertions, 0 deletions