Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1731899imu; Thu, 10 Jan 2019 02:00:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN6tr8tEGB7VFxOOvOR9a6r8niwGkin1XCgCcIgC48hdkS4JLzHmN4Gg0jLag2HkS7ewCje+ X-Received: by 2002:a62:60c5:: with SMTP id u188mr9594359pfb.4.1547114405812; Thu, 10 Jan 2019 02:00:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547114405; cv=none; d=google.com; s=arc-20160816; b=HxB3TreSBeduaKvj7Fy9KD/YZBmgScR+Kn6ut3ZsjRu3Awc7iokHpbbX8EMky9nRuH U+Zgd0+43CqIRxR8qEJ5MWrq45uoQyDqrUQHsDQFSp+MDLdHj/OQ8mwd2DSnagfpL+xa RbEmYkjas7sMQhgiYYENzbCynhIhx82tNmmqPXrHHYDKAvNhy10BDwReHRoZmhBCkM34 Z/MQeBQs7onI+tYxKLVvt+tTIOAvUTBZZZofsi1PfckxbiysBYxMaQSway5BHpwZhtuX uAcbFeGuI+UzBESnlpswC9pUASWZAfWKHGWuhNcBoBrtFyNciH5n1PvbOn3SiceMeXOp vV9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type :content-transfer-encoding:content-language:in-reply-to:user-agent :date:message-id:from:cc:to:subject:mime-version:dkim-signature :dkim-filter; bh=x5QnG5QWV4ikDkyVvItuyikbiv+1Rm7pJ0zkHbIZ7WU=; b=ifCldpcKTLHcgGNF57LDUfsQe6fkRolOy56i5TlEnpqg75u66DE57QGULeG2srEbeW kQh+rZMluVYl4ueVeJLraAneT03LT6dVLU36f4QqjxB5kJZgW5yFHWt74jd1HZiRxJRH y4ifHrSPlkCXD6y2fipMSEeZs8zZiKwsENZX86eYGSrEl4eIVDzPywcxDXwgXP/zkb4c D7tfxdK/9MmyK+3qPp3pjdGDnpmvPfULsfGYDFGrvTsHTYnKBDtf7J98zCIAbtkD1c/h qoehBzhZHJyIZ8OOJqHnYjmd4FwgMXVBDclrbIqPtycobKH0ZbwTbpTTrqyxa619Hgaz IeWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=UruqTDwt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d3si20381403pll.161.2019.01.10.01.59.50; Thu, 10 Jan 2019 02:00:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=UruqTDwt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728118AbfAJJ63 (ORCPT + 99 others); Thu, 10 Jan 2019 04:58:29 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:39579 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727825AbfAJJ63 (ORCPT ); Thu, 10 Jan 2019 04:58:29 -0500 Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20190110095825epoutp01176f68009949863b5e17fb3f0d17ddac~4dEOZlFD83218732187epoutp01T; Thu, 10 Jan 2019 09:58:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20190110095825epoutp01176f68009949863b5e17fb3f0d17ddac~4dEOZlFD83218732187epoutp01T DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1547114305; bh=x5QnG5QWV4ikDkyVvItuyikbiv+1Rm7pJ0zkHbIZ7WU=; h=Subject:To:Cc:From:Date:In-reply-to:References:From; b=UruqTDwtQxThsCLBdx0WbAxZyQ8XYQC01dosn8dVKi2UhDrYORs5M6eQrOw/09izL kyEG8T1SuykcSDZvABRWSyFP5nO5S7hLhVNtOrV41dKK1edSBlKHFcGgjn1Zb9Bg3r diCAuLvmN/rUQrtF3ckjjTD99t20rC/rytn1Gqus= Received: from epsmges2p4.samsung.com (unknown [182.195.42.72]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20190110095824epcas2p4668cebecc31b71483dad197f278445ad~4dENT7adq0371003710epcas2p4R; Thu, 10 Jan 2019 09:58:24 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p4.samsung.com (Symantec Messaging Gateway) with SMTP id FD.A2.04055.047173C5; Thu, 10 Jan 2019 18:58:24 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20190110095823epcas2p1936a8d201409b837f9cbd12497fb0e25~4dEMX922X2503425034epcas2p1a; Thu, 10 Jan 2019 09:58:23 +0000 (GMT) X-AuditID: b6c32a48-3c1ff70000000fd7-90-5c3717405503 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 09.36.03627.F37173C5; Thu, 10 Jan 2019 18:58:23 +0900 (KST) MIME-version: 1.0 Content-type: text/plain; charset="utf-8" Received: from [106.116.147.40] by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PL40086D118YF10@mmp2.samsung.com>; Thu, 10 Jan 2019 18:58:23 +0900 (KST) Subject: Re: [PATCH] media: s5p-jpeg: Correct step and max values for V4L2_CID_JPEG_RESTART_INTERVAL To: =?UTF-8?Q?Pawe=c5=82_Chmiel?= Cc: jacek.anaszewski@gmail.com, mchehab@kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org From: Sylwester Nawrocki Message-id: <146706fc-007a-c4f9-7ecf-b1bd893bb79d@samsung.com> Date: Thu, 10 Jan 2019 10:58:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 In-reply-to: <20190109180041.31052-1-pawel.mikolaj.chmiel@gmail.com> Content-language: en-GB Content-transfer-encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrLIsWRmVeSWpSXmKPExsWy7bCmua6DuHmMwayvkha3t25gsdj0+Bqr xeVdc9gsejZsZbWYcX4fk8WyTX+YLH4c72N2YPfYOesuu8emVZ1sHpuX1Ht83iQXwBLFZZOS mpNZllqkb5fAlXHhomDBKZaKVZvnszYwvmXuYuTkkBAwkbjcO5+1i5GLQ0hgB6PEz6aNTBDO d0aJNXM3sHQxcoBV7Z+QCdIgJLCBUeJRoziIzSsgKPFj8j0WEJtZQFPixZdJLBA19xklnlxV AbGFBdIkLt2dAbZMRMBJonfrK2aQ+cwCu4Bqvv0Da2ATMJToPdrHCDHUTuLp3u9MIHtZBFQl PnyrAgmLCkRIdNxfzQYS5hRwkbjzthxirbjEsfs3GSFseYmDV56zQPx1hk1i3iFrCNtForfn BBOELSzx6vgWdghbWuLZqo2MEHa1xK7t3WCnSQh0MEq0XNgODSBricPHL7JCLOCT6Dj8lx0S JLwSHW1CECUeEluXLmSHBNt0RomlV0+xTGCUnYUURLOQgmgWkrtnIbl7ASPLKkax1ILi3PTU YqMCE73ixNzi0rx0veT83E2M4ESh5bGD8cA5n0OMAhyMSjy8CsvNYoRYE8uKK3MPMUpwMCuJ 8N4BCfGmJFZWpRblxxeV5qQWH2KU5mBREud9KD03WkggPbEkNTs1tSC1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Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20190110095823epcas2p1936a8d201409b837f9cbd12497fb0e25 References: <20190109180041.31052-1-pawel.mikolaj.chmiel@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/9/19 19:00, Paweł Chmiel wrote: > This commit corrects max and step values for v4l2 control for > V4L2_CID_JPEG_RESTART_INTERVAL. Max should be 0xffff and step should be 1. > It was found by using v4l2-compliance tool and checking result of > VIDIOC_QUERY_EXT_CTRL/QUERYMENU test. > Previously it was complaining that step was bigger than difference > between max and min. > > Fixes: 15f4bc3b1f42 ("[media] s5p-jpeg: Add JPEG controls support") > Signed-off-by: Paweł Chmiel Reviewed-by: Sylwester Nawrocki