MLK-22288: mxc-jpeg: Jpeg decoding/encoding on slot other than 0
authorMirela Rabulea <mirela.rabulea@nxp.com>
Thu, 18 Jul 2019 16:06:30 +0000 (19:06 +0300)
committerMirela Rabulea <mirela.rabulea@nxp.com>
Thu, 8 Aug 2019 06:54:05 +0000 (09:54 +0300)
commitd2c2cdb11b29fb30fedb0c17620a95955c876fb8
tree50f3db05107d1e9a8e8ce02ac46bb156b3e89489
parentc9e3c8ec41ea52b7f2bfb1193c6ba94faeec1a4e
MLK-22288: mxc-jpeg: Jpeg decoding/encoding on slot other than 0

Set-up the interrupts for all 4 slots to be handled in the same routine,
mxc_jpeg_dec_irq, which now is no longer hard-coded for slot 0.

Return initial code instead of EINVAL.

Signed-off-by: Mirela Rabulea <mirela.rabulea@nxp.com>
Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
drivers/media/platform/imx8/mxc-jpeg.c