]> git.baikalelectronics.ru Git - kernel.git/commit
VME: Return -EBUSY when DMA list in use
authorMartyn Welch <martyn@welchs.me.uk>
Tue, 24 Oct 2017 06:27:40 +0000 (08:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Nov 2017 13:26:50 +0000 (14:26 +0100)
commit6ec943e2af0e5f5ddf1aace1e2715da0d0fb6614
tree0808fe43e79d4ff8e63d56f7995761a110e0801b
parent7bc0a6c4dea902db311f576b9d0098e3a87a914c
VME: Return -EBUSY when DMA list in use

The VME subsystem currently returns -EBUSY when trying to free a DMA
resource that is busy, but returns -EINVAL when trying to free a DMA list
that is in use. Switch to returning -EBUSY when trying to free a DMA list
that is in use for consistency and correctness.

Signed-off-by: Martyn Welch <martyn@welchs.me.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/vme/vme.c