aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2008-12-18 08:23:29 +0000
committerDavid S. Miller <davem@davemloft.net>2008-12-18 22:50:50 -0800
commit67c2fb8ff0eda3cee95954a1dd245c3ce1a10486 (patch)
treee25dc49e42338225f25bb999aff0bebae8cb78a9 /drivers/ide
parent1762a29ae5ebdd974eb2ba0c36b56ab6f7a9c16d (diff)
downloadkernel_samsung_smdk4412-67c2fb8ff0eda3cee95954a1dd245c3ce1a10486.zip
kernel_samsung_smdk4412-67c2fb8ff0eda3cee95954a1dd245c3ce1a10486.tar.gz
kernel_samsung_smdk4412-67c2fb8ff0eda3cee95954a1dd245c3ce1a10486.tar.bz2
ucc_geth: Fix IRQ freeing code in ucc_geth_open()
open() routine calls stop() in case of errors, the function will try to free the requested IRQ. But we don't know if it was actually requested, so the code might issue bogus free_irq(0, dev) call. Fix this by rearranging the code so that now request_irq() is the last call in the open() routine, and move free_irq() into the close(). Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions