[PATCH openEuler-1.0-LTS 53/62] dmaengine: sh: rcar-dmac: Check for error num after setting mask