Fixes a bug in the channel reservation : If dma resources allocation fails, the channel was not freed. I fixed that by marking the channel allocated after the dma resources allocation succeeded. Also changed the error return value from ioctl. Signed-off-by: Philippe De Muyter <phdm at macqel dot be> Signed-off-by: Dan Dennedy <dan@dennedy.org> Signed-off-by: Jody McIntyre <scjody@modernduck.com>
Showing
Please register or sign in to comment