Blackfin: outs[lwb]: make sure count is greater than 0
authorMike Frysinger <vapier@gentoo.org>
Wed, 26 Jan 2011 18:10:44 +0000 (18:10 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 4 Mar 2011 06:26:55 +0000 (01:26 -0500)
commitbb7b11290afd2a192d33c357a2a62cb8eaf29eab
tree26713e5fb62a4950f485890157696620aba13d0b
parentb65a0e0c84cf489bfa00d6aa6c48abc5a237100f
Blackfin: outs[lwb]: make sure count is greater than 0

Some devices will use the outs* funcs with a length of zero, so make sure
we do not write any data in that case.

Reported-by: Gilbert Inho <gneny@edevice.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/lib/outs.S