linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] [media] s5p-mfc: use mfc_err instead of printk
@ 2012-12-28 10:18 Sachin Kamat
  2012-12-28 10:18 ` [PATCH 2/3] [media] s5p-mfc: Remove redundant 'break' Sachin Kamat
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Sachin Kamat @ 2012-12-28 10:18 UTC (permalink / raw)
  To: linux-media
  Cc: k.debski, s.nawrocki, sylvester.nawrocki, sachin.kamat, patches

Use mfc_err for consistency. Also silences checkpatch warning.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c b/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c
index bf7d010..bb99d3d 100644
--- a/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c
+++ b/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c
@@ -187,8 +187,7 @@ int s5p_mfc_alloc_codec_buffers_v5(struct s5p_mfc_ctx *ctx)
 		dev->alloc_ctx[MFC_BANK1_ALLOC_CTX], ctx->bank1_size);
 		if (IS_ERR(ctx->bank1_buf)) {
 			ctx->bank1_buf = NULL;
-			printk(KERN_ERR
-			       "Buf alloc for decoding failed (port A)\n");
+			mfc_err("Buf alloc for decoding failed (port A)\n");
 			return -ENOMEM;
 		}
 		ctx->bank1_phys = s5p_mfc_mem_cookie(
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-01-07 10:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-28 10:18 [PATCH 1/3] [media] s5p-mfc: use mfc_err instead of printk Sachin Kamat
2012-12-28 10:18 ` [PATCH 2/3] [media] s5p-mfc: Remove redundant 'break' Sachin Kamat
2013-01-02 18:29   ` Kamil Debski
2013-01-03  2:53     ` Sachin Kamat
2012-12-28 10:18 ` [PATCH 3/3] [media] s5p-mfc: Use of_match_ptr and CONFIG_OF Sachin Kamat
2013-01-06 14:48   ` Sylwester Nawrocki
2013-01-02 18:30 ` [PATCH 1/3] [media] s5p-mfc: use mfc_err instead of printk Kamil Debski
     [not found]   ` <CAK9yfHzbMKvo-WYED9hPdzCccjvKcXgtq=SqOLPEGuaGhMwqCw@mail.gmail.com>
2013-01-07 10:02     ` Sylwester Nawrocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).