Received: by 10.213.65.68 with SMTP id h4csp3353403imn; Tue, 3 Apr 2018 03:30:06 -0700 (PDT) X-Google-Smtp-Source: AIpwx49Gt8kw9QUHA1XshZZsMHjvtYHqhYpSTR//J5YndtMdR3pVIojjYtAwrvHw65rbSE9q+uXG X-Received: by 2002:a17:902:7087:: with SMTP id z7-v6mr13821174plk.315.1522751406364; Tue, 03 Apr 2018 03:30:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522751406; cv=none; d=google.com; s=arc-20160816; b=fcgVa8Y350RP47XeJCsRVuqKcqJH0NS7tR+RXY74e3Au04Q17Nk1mWIvixNj/EzJQ9 +VljvRlNfJ9M3XCw+bTYcnGOPtQVVF97vJxegQdVUGijfXu9Hxbsr6Ijr8blLsY97zz0 VRW1QxqhTZ6s2EWzmlME8EOCq/bfu3gUYClgnc8LeEsGpTT34rJgaczU2ACsNn6YBFLk ztLI+S9ZuBCk7bL2nKqObKFPf7iICqyl2wMad0d/y6tcwlWpHfyvkqK2Vftj/WSZh1Ho ncYeC7FoPTrj2epL9iEPpO0DPDCRf3gM/ryBr/enZgHxQzuuiU1KyyGuvNbRHQcrJn0I JWNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=KByCeqLCJqjNGVNLhjjayBWXtwNIeferodXaadg+fv0=; b=R3Z2D2H+ML3/RWkvlGYf1tt9JWq5PpVxMxE9+apsrSLH/QEHzvaTDU8DxPjQAKNB9P 4+jQedImz19y2Aek8sh7UoS7/VvYDsJl00WwQY59Az9sBjHGyk9uV4yhItauronOBh0d LsVqa8K6SBNSWghWI+o3MHYvBKYjhZd+D9LFiBdzEFO+4AUWSmfuhiASzoqG2mzQtPpG j4lvqse4pn2WA3XBtKoxBC7jOBk/hfhWYjP8hXT9K7rquxqcDTvQZDa6UYVt+GF4TK09 kCFCAtUyFDpJ2BCK4mmUBzUju6S8OM0kQCBhSi8heQTreFPnuxnwHJNUanC7x7lo/5HM E0Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@orpaltech.com header.s=mailru header.b=lWraSToP; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si188840plk.104.2018.04.03.03.29.52; Tue, 03 Apr 2018 03:30:06 -0700 (PDT) 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=@orpaltech.com header.s=mailru header.b=lWraSToP; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755368AbeDCK2I (ORCPT + 99 others); Tue, 3 Apr 2018 06:28:08 -0400 Received: from smtp62.i.mail.ru ([217.69.128.42]:36208 "EHLO smtp62.i.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754827AbeDCK2G (ORCPT ); Tue, 3 Apr 2018 06:28:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=orpaltech.com; s=mailru; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject; bh=KByCeqLCJqjNGVNLhjjayBWXtwNIeferodXaadg+fv0=; b=lWraSToPObIr9dGtapB6AfmxOMqiQFrNnA7WNfN0AGTZvYoXxhfHEQzL/9F+kLwRd79YBX16V0E8PV+yE2qqRnAFSYi0nmlmC2MUME4GINDrVkUN8WS4HPd9afDPwtZHGVGkpicJFGCVMjrpRmVl3nW9HfT8WJnLSL1IZZ4QW10=; Received: by smtp62.i.mail.ru with esmtpa (envelope-from ) id 1f3JAZ-0007At-84; Tue, 03 Apr 2018 13:28:03 +0300 Subject: Re: [PATCH 5/6] spi: sun4i: introduce register set/unset helpers To: Maxime Ripard Cc: Chen-Yu Tsai , Mark Brown , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org References: <20180329185907.27281-1-ssuloev@orpaltech.com> <20180329185907.27281-6-ssuloev@orpaltech.com> <20180403081458.lyilg3yu3n2e54fd@flea> From: Sergey Suloev Message-ID: <8edccc63-9729-ff4c-b272-1916e7794bc7@orpaltech.com> Date: Tue, 3 Apr 2018 13:27:57 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180403081458.lyilg3yu3n2e54fd@flea> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Authentication-Results: smtp62.i.mail.ru; auth=pass smtp.auth=ssuloev@orpaltech.com smtp.mailfrom=ssuloev@orpaltech.com X-7FA49CB5: 0D63561A33F958A5247FC1B526A057B5AB1DA08539F67DF37649B479DD24E3CA725E5C173C3A84C30584FF81F342DA079C2F722F016DF63EB7122A4C44A4E42FC4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F5D41B9178041F3E72623479134186CDE6BA297DBC24807EABDAD6C7F3747799A X-Mailru-Sender: C5364AD02485212F3ACDC11E67D84917E12ECED5A0CEE34B7BF1F2511D8B6519069BFC61DABEEB110841D3AAAB1726C63DDE9B364B0DF289264D2CD8C2503E8C22A194DADEED8EEDCA01A23BA9CD1BE7ED14614B50AE0675 X-Mras: OK Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/03/2018 11:14 AM, Maxime Ripard wrote: > On Thu, Mar 29, 2018 at 09:59:06PM +0300, Sergey Suloev wrote: >> Two helper functions were added in order to update >> registers easily. >> >> Signed-off-by: Sergey Suloev > I'm not really sure what's easier about this one. > > Maxime > > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel well, just seems more readable vs doing "read, or, write" every time