Re: [PATCH v4 03/11] media: hantro: change hantro_codec_ops run prototype to return errors

2021-03-05 Thread Benjamin Gaignard
Le 03/03/2021 à 22:56, Ezequiel Garcia a écrit : On Wed, 2021-03-03 at 12:39 +0100, Benjamin Gaignard wrote: Change hantro_codec_ops run prototype from 'void' to 'int'. This allow to cancel the job if an error occur while configuring the hardware. Signed-off-by: Benjamin Gaignard ---  

Re: [PATCH v4 03/11] media: hantro: change hantro_codec_ops run prototype to return errors

2021-03-03 Thread Ezequiel Garcia
On Wed, 2021-03-03 at 12:39 +0100, Benjamin Gaignard wrote: > Change hantro_codec_ops run prototype from 'void' to 'int'. > This allow to cancel the job if an error occur while configuring > the hardware. > > Signed-off-by: Benjamin Gaignard > --- >  drivers/staging/media/hantro/hantro_drv.c

[PATCH v4 03/11] media: hantro: change hantro_codec_ops run prototype to return errors

2021-03-03 Thread Benjamin Gaignard
Change hantro_codec_ops run prototype from 'void' to 'int'. This allow to cancel the job if an error occur while configuring the hardware. Signed-off-by: Benjamin Gaignard --- drivers/staging/media/hantro/hantro_drv.c | 4 +++- .../staging/media/hantro/hantro_g1_h264_dec.c | 6 --