From patchwork Mon Jan 29 11:33:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 10189555 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 651DC6020C for ; Mon, 29 Jan 2018 11:35:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48E0927C2D for ; Mon, 29 Jan 2018 11:35:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3D91F28178; Mon, 29 Jan 2018 11:35:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD7D927C2D for ; Mon, 29 Jan 2018 11:35:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751932AbeA2Lef (ORCPT ); Mon, 29 Jan 2018 06:34:35 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:10426 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751599AbeA2Ldd (ORCPT ); Mon, 29 Jan 2018 06:33:33 -0500 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20180129113331epoutp03a6c204a440bbdd834a9d3e91d2c4d6dc~ORKfFTIUv1737417374epoutp03O; Mon, 29 Jan 2018 11:33:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20180129113331epoutp03a6c204a440bbdd834a9d3e91d2c4d6dc~ORKfFTIUv1737417374epoutp03O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1517225611; bh=H6QPq5ZYfY/ycjBHgMoPLsLHETsDe75DzSIt0WX1NuE=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=fDGzsQYEGhi0f7eKyEoD7ZWYxGiicdRZLnpbsZ78OSLnGxTiyvwCwFR69aXUoeMzC hS3rWae5v6C3RiRR08Nc8wZpClYoeEZbJ1EAiltkZS8gZd5imO54O4YbhzCbojSe3X Yk+0uoKY6O9NEKcbS6b3ezl0LmC5zQyKIO1/FhuA= Received: from epsmges2p4.samsung.com (unknown [182.195.40.69]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20180129113331epcas1p1bdddfa39de93547565a9b78c367037da~ORKe13SM22419424194epcas1p1W; Mon, 29 Jan 2018 11:33:31 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p4.samsung.com (Symantec Messaging Gateway) with SMTP id AA.D7.04080.B860F6A5; Mon, 29 Jan 2018 20:33:31 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20180129113331epcas2p29c39450d723f7d2085fc10a74a74e53c~ORKeofmuW2097820978epcas2p2B; Mon, 29 Jan 2018 11:33:31 +0000 (GMT) X-AuditID: b6c32a48-9adff70000000ff0-a6-5a6f068b59c8 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 50.FC.03890.B860F6A5; Mon, 29 Jan 2018 20:33:31 +0900 (KST) Received: from gangnam.samsung ([10.113.77.200]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P3B00AJIERSSUA0@mmp2.samsung.com>; Mon, 29 Jan 2018 20:33:31 +0900 (KST) From: Andi Shyti To: Dmitry Torokhov , Simon Shields Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Andi Shyti , Andi Shyti Subject: [PATCH 5/8] Input: mms114 - use lower case for hexadecimal values Date: Mon, 29 Jan 2018 20:33:20 +0900 Message-id: <20180129113323.18961-6-andi.shyti@samsung.com> X-Mailer: git-send-email 2.15.1 In-reply-to: <20180129113323.18961-1-andi.shyti@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCKsWRmVeSWpSXmKPExsWy7bCmmW43W36UwfOdChbbjzxjtVj84zmT xeFFLxgtbn76xmpxedccNostZ26zObB5XF/yidlj56y77B4t6zexefRtWcXo8XmTXABrVKpN RmpiSmqRQmpecn5KZl66rZJ3cLxzvKmZgaGuoaWFuZJCXmJuqq2Si0+ArltmDtAFSgpliTml QKGAxOJiJX07m6L80pJUhYz84hJbpWhDQyM9QwNzPSMjIz0T41grI1OgkoTUjDUH9zIXXOSo uHL6EWMD4wz2LkZODgkBE4m+W7tZuxi5OIQEdjBKbLl+gQ3C+c4ose/NMkaYqpnP17CB2EIC GxglXm6Tgyj6xCix9M47ZpAEm4CmRNPtH2BFIgJhEv2rlzKDFDELNDNK/L3QAjZJWMBLovfB ZzCbRUBVYkLTarA7eAWsJR4uvQG1TV5iwpYmFhCbU8BGom/maTaIeCObxNtNFhC2i8TTp7+g fhCWeHV8C5QtLfFs1UaoOUCLt91OBjlCQmACo8SnvV+ZIBLGEs8WdoHZzAJ8Eh2H/wI1cwDF eSU62oQgSjwkVp36xAphO0rMOr2YEeLjfkaJdU9fMU9glFrAyLCKUSy1oDg3PbXYqMBErzgx t7g0L10vOT93EyM4hWh57GA8cM7nEKMAB6MSD++H0LwoIdbEsuLK3EOMEhzMSiK89wqBQrwp iZVVqUX58UWlOanFhxhNgWEzkVlKNDkfmN7ySuINTSwNTMzMjMzNLIDJQZy3LcAlSkggPbEk NTs1tSC1CKaPiYNTqoFxZsUJ9TPunB7yf9rnlpnx7sj/9dT8hcm1N04Ln1a6605v/Zhkter1 4pLn9b5ijpZXNXatsKn9s2uzyNXw7++MLv06r57OwXXurM/MTbP/bj3Ja5u0LG7nSs6tHM88 /aP7LVY+tp+wOKkzw7vs6qnG93V+0on8nxdMV13JbeP+oMZuNsdeZoubSizFGYmGWsxFxYkA FgUBIzcDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupgluLIzCtJLcpLzFFi42I5/e+xoG43W36UwYn9whbbjzxjtVj84zmT xeFFLxgtbn76xmpxedccNostZ26zObB5XF/yidlj56y77B4t6zexefRtWcXo8XmTXABrFJdN SmpOZllqkb5dAlfGmoN7mQsuclRcOf2IsYFxBnsXIyeHhICJxMzna9i6GLk4hATWMUrMaH0M 5XxilJiwZyMbSBWbgKZE0+0fYLaIQJjE332fGUGKmAWaGSXaD1wCSwgLeEn0PgBJcHKwCKhK TGhaDbaCV8Ba4uHSG4wQ6+QlJmxpYgGxOQVsJPpmngbrFQKq6Xv6hmUCI88CRoZVjJKpBcW5 6bnFRgVGeanlesWJucWleel6yfm5mxiB4bPtsFb/DsbHS+IPMQpwMCrx8H4IzYsSYk0sK67M PcQowcGsJMJ7rxAoxJuSWFmVWpQfX1Sak1p8iFGag0VJnJc//1ikkEB6YklqdmpqQWoRTJaJ g1OqgdG2/5ZTxNTHAeLv76Y+bEs/neq2c9Xim8xSXvfrxbapCLdfSvRYZPOmRyj69nHpML07 ysXWVTZyYrf+/j8l7J+Vr330/98mMb73q59phP8+NGXB2p5d60umdbIVpmbP71HMY59ymzU/ dOmUnb2rb+Wq+s8vL7uf8e7+rmlWZfL/9+n3zLIT11RiKc5INNRiLipOBAC6cO1gGwIAAA== X-CMS-MailID: 20180129113331epcas2p29c39450d723f7d2085fc10a74a74e53c X-Msg-Generator: CA CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20180129113331epcas2p29c39450d723f7d2085fc10a74a74e53c X-RootMTR: 20180129113331epcas2p29c39450d723f7d2085fc10a74a74e53c References: <20180129113323.18961-1-andi.shyti@samsung.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Andi Shyti --- drivers/input/touchscreen/mms114.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c index 11dba8bb48e3..fdf23bc416af 100644 --- a/drivers/input/touchscreen/mms114.c +++ b/drivers/input/touchscreen/mms114.c @@ -20,7 +20,7 @@ /* Write only registers */ #define MMS114_MODE_CONTROL 0x01 -#define MMS114_OPERATION_MODE_MASK 0xE +#define MMS114_OPERATION_MODE_MASK 0xe #define MMS114_ACTIVE (1 << 1) #define MMS114_XY_RESOLUTION_H 0x02 @@ -30,12 +30,12 @@ #define MMS114_MOVING_THRESHOLD 0x06 /* Read only registers */ -#define MMS114_PACKET_SIZE 0x0F +#define MMS114_PACKET_SIZE 0x0f #define MMS114_INFOMATION 0x10 -#define MMS114_TSP_REV 0xF0 +#define MMS114_TSP_REV 0xf0 -#define MMS152_FW_REV 0xE1 -#define MMS152_COMPAT_GROUP 0xF2 +#define MMS152_FW_REV 0xe1 +#define MMS152_COMPAT_GROUP 0xf2 /* 200ms needs after power on */ #define MMS114_POWERON_DELAY 200