diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2015-03-24 14:30:49 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-10 10:04:56 -0300 |
commit | 2b7684683d4b6e41717b9d1354d4080fdee970fc (patch) | |
tree | 06dc0907cde67d8db3250987cf27210fb038a9ea | |
parent | d446ec8e122c210a9260f103cbf8da5a56de9c82 (diff) | |
download | op-kernel-dev-2b7684683d4b6e41717b9d1354d4080fdee970fc.zip op-kernel-dev-2b7684683d4b6e41717b9d1354d4080fdee970fc.tar.gz |
[media] coda: bitstream payload is unsigned
kfifo_len is unsigned int, return it as such.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r-- | drivers/media/platform/coda/coda.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/coda/coda.h b/drivers/media/platform/coda/coda.h index 0c35cd5..499049f 100644 --- a/drivers/media/platform/coda/coda.h +++ b/drivers/media/platform/coda/coda.h @@ -284,7 +284,7 @@ const char *coda_product_name(int product); int coda_check_firmware(struct coda_dev *dev); -static inline int coda_get_bitstream_payload(struct coda_ctx *ctx) +static inline unsigned int coda_get_bitstream_payload(struct coda_ctx *ctx) { return kfifo_len(&ctx->bitstream_fifo); } |