From patchwork Thu Apr 10 07:32:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 3960271 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1FCD7BFF02 for ; Thu, 10 Apr 2014 07:32:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 33CB9202C8 for ; Thu, 10 Apr 2014 07:32:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 59DF020125 for ; Thu, 10 Apr 2014 07:32:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965214AbaDJHcu (ORCPT ); Thu, 10 Apr 2014 03:32:50 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:18185 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965211AbaDJHcj (ORCPT ); Thu, 10 Apr 2014 03:32:39 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3T00MH60YFQDC0@mailout1.samsung.com> for linux-media@vger.kernel.org; Thu, 10 Apr 2014 16:32:39 +0900 (KST) X-AuditID: cbfee61a-b7fb26d00000724f-d9-5346491697fa Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id FB.D3.29263.61946435; Thu, 10 Apr 2014 16:32:39 +0900 (KST) Received: from AMDC2362.DIGITAL.local ([106.120.53.23]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N3T005990XW0YD0@mmp2.samsung.com>; Thu, 10 Apr 2014 16:32:38 +0900 (KST) From: Jacek Anaszewski To: linux-media@vger.kernel.org Cc: s.nawrocki@samsung.com, Jacek Anaszewski , Kyungmin Park Subject: [PATCH v2 8/8] s5p_jpeg: Fix NV12 format entry related to S5C2120 SoC Date: Thu, 10 Apr 2014 09:32:18 +0200 Message-id: <1397115138-1095-8-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1397115138-1095-1-git-send-email-j.anaszewski@samsung.com> References: <1397115138-1095-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrEJMWRmVeSWpSXmKPExsVy+t9jQV1xT7dggydSFr1XnzNanG16w27R s2Erq8XhN+2sDiwefVtWMXp83iQXwBTFZZOSmpNZllqkb5fAlbHz+zL2govsFR8Xf2FpYFzP 1sXIySEhYCJx++wKFghbTOLCPYi4kMB0Romtk6O7GLmA7HYmiYbvB5lAEmwChhI/X7wGs0UE 5CWe9N4AauDgYBYokTi0XhEkLCzgJ3Hq+n12EJtFQFXi0NWrjCA2r4C7ROfTaawg5RICChJz JtmAhDkFPCR+7FnPDLHWXWLj5OvMExh5FzAyrGIUTS1ILihOSs811CtOzC0uzUvXS87P3cQI DolnUjsYVzZYHGIU4GBU4uE9sMw1WIg1say4MvcQowQHs5IIr4KQW7AQb0piZVVqUX58UWlO avEhRmkOFiVx3gOt1oFCAumJJanZqakFqUUwWSYOTqkGxqMGS06tf/79lG5t6I9txtIfputp cIYrFJW6JV46fiv/nu+zK8yTQiWvdG++tX79HvXDZ9R7nM/Iqs/zVPSJSbjxuNRjbVDPDbZH Bk+4Tpd+CZ6pcl/GaF+CzvVbb6fnTP/wTXPS+4B9yaaGL3Q27pS4uUbjbnGjatw/sxePvruY PdeNDFGxF1RiKc5INNRiLipOBAAhpQQpBQIAAA== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP S5PC210 SoC doesn't support encoding NV12 raw images. Remove the relavant flag from the respective entry in the sjpeg_formats array. Signed-off-by: Jacek Anaszewski Signed-off-by: Kyungmin Park --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c b/drivers/media/platform/s5p-jpeg/jpeg-core.c index 24545bd..2c8481e 100644 --- a/drivers/media/platform/s5p-jpeg/jpeg-core.c +++ b/drivers/media/platform/s5p-jpeg/jpeg-core.c @@ -192,8 +192,7 @@ static struct s5p_jpeg_fmt sjpeg_formats[] = { .colplanes = 2, .h_align = 4, .v_align = 4, - .flags = SJPEG_FMT_FLAG_ENC_OUTPUT | - SJPEG_FMT_FLAG_DEC_CAPTURE | + .flags = SJPEG_FMT_FLAG_DEC_CAPTURE | SJPEG_FMT_FLAG_S5P | SJPEG_FMT_NON_RGB, .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_420,