[PATCH] videobuf2-core: modify the num of users

2014-08-14 Thread panpan liu
If num_users returns 1 or more than 1, that means we are not the only user of the plane's memory. Signed-off-by: panpan liu panpan1@samsung.com --- drivers/media/v4l2-core/videobuf2-core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core

[PATCH] media: s5p_mfc_dec: delete the redundant code

2014-08-01 Thread panpan liu
Because the api s5p_mfc_queue_setup has already realized the same function Signed-off-by: panpan liu panpan1@samsung.com --- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c |9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/media/platform/s5p-mfc

[PATCH] videobuf2-core: simplify and unify the kernel api

2014-07-31 Thread panpan liu
Making the kernel api more simplified and unified. Signed-off-by: panpan liu panpan1@samsung.com --- drivers/media/v4l2-core/videobuf2-core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 = 100755 drivers/media/v4l2-core/videobuf2-core.c diff --git a/drivers

[PATCH] s5p-mfc: limit the size of the CPB

2014-07-15 Thread panpan liu
The CPB size is limited by the hardware. Add this limit to the s_fmt. space required before the open parenthesis '(' Signed-off-by: panpan liu panpan1@samsung.com --- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git

[PATCH] s5p-mfc: limit the size of the CPB

2014-07-15 Thread panpan liu
The CPB size is limited by the hardware. Add this limit to the s_fmt. Signed-off-by: panpan liu panpan1@samsung.com --- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c b

[PATCH] s5p-mfc: limit the size of the CPB

2014-07-14 Thread panpan liu
The register of the CPB limits the size. The max size is 4M, so it is more reasonable. Signed-off-by: panpan liu panpan1@samsung.com --- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 = 100755 drivers/media/platform

[PATCH] s5p-mfc: limit the size of the CPB

2014-07-14 Thread panpan liu
The register of the CPB limits the size. The max size is 4M, so it is more reasonable. Change-Id: I4ffe90ac8b4de7aed8f396b3072d5db6ead9741c Signed-off-by: panpan liu panpan1@samsung.com --- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 11 +++ 1 file changed, 7 insertions(+), 4

[PATCH] s5p-mfc: limit the size of the CPB

2014-07-14 Thread panpan liu
The register of the CPB limits the size. The max size is 4M, so it is more reasonable. Signed-off-by: panpan liu panpan1@samsung.com --- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) mode change 100644 = 100755 drivers

[PATCH] s5p-mfc: limit the size of the CPB

2014-07-14 Thread panpan liu
The CPB size is limited by the hardware. Add this limit to the s_fmt. Signed-off-by: panpan liu panpan1@samsung.com --- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) mode change 100644 = 100755 drivers/media/platform/s5p-mfc