aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2015-02-23 16:20:05 +0100
committerKamil Debski <k.debski@samsung.com>2015-03-18 15:14:36 +0100
commit1dbc02568231f37d4feca1bfba1ec32ac586fc5d (patch)
treea50a8a8d9f57c3ac5569b77961ee4905fdcdf0e5
parent2e0b96fcd03125a929b9e15cd836918cb051aee2 (diff)
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>
-rw-r--r--drivers/media/platform/coda/coda.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/coda/coda.h b/drivers/media/platform/coda/coda.h
index 0c35cd5032ff..499049f3896b 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);
}

Privacy Policy