Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp188960pxa; Wed, 26 Aug 2020 22:21:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7iqQVYDyHSi7i7fqFhIYzbLR6cHo+oo5cd+ACEY3DWXnjJEnRBC+/xBC5b5TXx4pB3gKR X-Received: by 2002:a50:a6d1:: with SMTP id f17mr9506490edc.379.1598505660656; Wed, 26 Aug 2020 22:21:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598505660; cv=none; d=google.com; s=arc-20160816; b=Sb7tQPm81GWfNLpIlz9A/qjCDpKEIyUEX912gUwZSou0MbaPgxMu+ab7rEE79BMMh2 MddozIw/O1P9z7C9GaLh2M5WJtk0WV7qGgwDJKHiBhC49tvOZH/tQ5lWJ0IOeVNCzh66 x6C2orzCP6/6+88cElGRSyzOt/IgrU7NItg7tZ3MUBSXLyooK91YPzI1plyUwkgQYkxj 8fW8hvRkzz27O8RkNjQ/AnsCqXxCjm3aNFN2TYjTbPFFHbKglEKmZri6clUq8IHrNlN7 KQTWc9S/b/ReHaic+alQMANcHhiCP2UJzx6VnTDZklqgF1EsD7LlcXY+SsC0qIvcSvpz w8Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:reply-to:ironport-sdr :ironport-sdr; bh=y2saDK/6QNzDjrtknN+ISlZgchM0CAPml0sQxeD1C8g=; b=QkM4flvdr5wv1+q9n7TKj9d5QlOeY7b5aZsUQkzorE2KYrnWSXVhX9577UTZAFzbzK dqxkP/qE51x+INbjM/vhE496BApb8MXDJJrT/eCsg7Eha5hSzIDvEHKYdZaM7JG8RulI pTuJ3JRraHhn7nOBRXO7lylxBrHmutb4RpPSsHScZfQT9j6lJDvpr2t1d7jq/0Xy1gHU xmnXM0mkFvkL1ME2KBVIzFg7DEB6Y1sd4yoOc4LRfgsa8p42/EOmitiyDJCwaRWjQ0/T DGw1y+OiKun20fy2nn8TxFbPtWjVHu36QytrFV4gecNvnlr8L2uR2yBuLdbMgghj4uPz T7hA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n1si740290edy.3.2020.08.26.22.20.37; Wed, 26 Aug 2020 22:21:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726123AbgH0FTh (ORCPT + 99 others); Thu, 27 Aug 2020 01:19:37 -0400 Received: from mga06.intel.com ([134.134.136.31]:2149 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725909AbgH0FTh (ORCPT ); Thu, 27 Aug 2020 01:19:37 -0400 IronPort-SDR: WYxyrhxR1ecO5UJuDjq0Uq32PltlHralx6dpiiQehvjyg/XsErSVrpQq2x128p2scEi+DXD/+s 5VFWa25yH1Rg== X-IronPort-AV: E=McAfee;i="6000,8403,9725"; a="217972617" X-IronPort-AV: E=Sophos;i="5.76,358,1592895600"; d="scan'208";a="217972617" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Aug 2020 22:19:36 -0700 IronPort-SDR: mlcmNCs8w3SOR7MeYKvnSIoWGJjhFxTkDd8nCGTVPOIrcEmow1IaW3L/Fv9y3Y4ifWIIO3x2GH jDGJmxKSyBVA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,358,1592895600"; d="scan'208";a="323459201" Received: from linux.intel.com ([10.54.29.200]) by fmsmga004.fm.intel.com with ESMTP; 26 Aug 2020 22:19:36 -0700 Received: from [10.249.76.175] (vramuthx-MOBL1.gar.corp.intel.com [10.249.76.175]) by linux.intel.com (Postfix) with ESMTP id E7C3658069F; Wed, 26 Aug 2020 22:19:33 -0700 (PDT) Reply-To: vadivel.muruganx.ramuthevar@linux.intel.com Subject: Re: [PATCH v2 1/2] extcon: ptn5150: Switch to GENMASK() and BIT() macros To: Chanwoo Choi , linux-kernel@vger.kernel.org Cc: vijaikumar.kanagarajan@gmail.com, krzk@kernel.org, myungjoo.ham@samsung.com, heikki.krogerus@linux.intel.com, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, yin1.li@intel.com References: <20200827035633.37348-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20200827035633.37348-2-vadivel.muruganx.ramuthevar@linux.intel.com> <8f26c8cb-3f6b-5933-a0f8-eb765ad5016a@samsung.com> From: "Ramuthevar, Vadivel MuruganX" Message-ID: <957c1c42-d5d9-1bdb-bc71-15c4e916886a@linux.intel.com> Date: Thu, 27 Aug 2020 13:19:32 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <8f26c8cb-3f6b-5933-a0f8-eb765ad5016a@samsung.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 27/8/2020 1:26 pm, Chanwoo Choi wrote: >> - >> + vendor_id = FIELD_GET(PTN5150_REG_DEVICE_ID_VENDOR, reg_data); >> + version_id = FIELD_GET(PTN5150_REG_DEVICE_ID_VERSION, reg_data); >> dev_dbg(info->dev, "Device type: version: 0x%x, vendor: 0x%x\n", >> version_id, vendor_id); >> >> > Applied it. Thanks. Thank you! Regards Vadivel