diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-29 08:42:56 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-11 18:23:31 +0200 |
commit | a86b4936ba6827e7c1b658d522412e5a78c03242 (patch) | |
tree | d11a126b83b32fd4a9556a319fb0a8cd72e5e0fc /drivers/staging/media/atomisp/pci/runtime/eventq/interface/ia_css_eventq.h | |
parent | 41022d35ddf219361f33b59034cc67430a6a590f (diff) | |
download | linux-a86b4936ba6827e7c1b658d522412e5a78c03242.tar.bz2 |
media: atomisp: get rid of an error abstraction layer
There is an abstraction layer there meant to convert to
the Linux standard error codes. As the driver now use
such errors everywhere. we can get rid of this.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/runtime/eventq/interface/ia_css_eventq.h')
-rw-r--r-- | drivers/staging/media/atomisp/pci/runtime/eventq/interface/ia_css_eventq.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/media/atomisp/pci/runtime/eventq/interface/ia_css_eventq.h b/drivers/staging/media/atomisp/pci/runtime/eventq/interface/ia_css_eventq.h index 8602398ede52..ad725e69253a 100644 --- a/drivers/staging/media/atomisp/pci/runtime/eventq/interface/ia_css_eventq.h +++ b/drivers/staging/media/atomisp/pci/runtime/eventq/interface/ia_css_eventq.h @@ -23,8 +23,8 @@ * @param[in] eventq_handle eventq_handle. * @param[in] payload The event payload. * @return 0 - Successfully dequeue. - * @return EINVAL - Invalid argument. - * @return ENODATA - Queue is empty. + * @return -EINVAL - Invalid argument. + * @return -ENODATA - Queue is empty. */ int ia_css_eventq_recv( ia_css_queue_t *eventq_handle, @@ -41,8 +41,8 @@ int ia_css_eventq_recv( * @param[in] evt_payload_1 The event payload. * @param[in] evt_payload_2 The event payload. * @return 0 - Successfully enqueue. - * @return EINVAL - Invalid argument. - * @return ENOBUFS - Queue is full. + * @return -EINVAL - Invalid argument. + * @return -ENOBUFS - Queue is full. */ int ia_css_eventq_send( ia_css_queue_t *eventq_handle, |