Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp11043586imu; Mon, 31 Dec 2018 11:43:02 -0800 (PST) X-Google-Smtp-Source: ALg8bN7/HUF65boSX1z2+gZ29w1x26OmRz+XE/61hE3qB8qPhiCV7K1F/9vakh8U01iJlHoKYACu X-Received: by 2002:a17:902:9a07:: with SMTP id v7mr37360240plp.247.1546285382297; Mon, 31 Dec 2018 11:43:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546285382; cv=none; d=google.com; s=arc-20160816; b=CMn3b9XFHqRNQU4B/RH1Qnrp3xo2Unyk+OXhuy9zfleMlf2/PzrEAx4wPaeo2SR4FI pc6oJJdqzcU19Oom+L9j6CNzP/mx4rAUt2l0YRYbtPLklSKwwFDvn3qs/4R67Le0gMsp iBHvuGeDWPiM4XA2hJ5FN8QEp0NMvwxKAwyc3UaavljPhPOuY8BGcWK+gJ4r0S/2NUhV vdHshRoKa8Mk6tyTHRlvJtxWhN2dp9HS4x0zm9qIlZVSweqeVjYSuKAdx04mrkh/RyqY YVv6ndVK4KRlBqcIf2zITBfqqYEDUMw2ciKLrh9gO0ti1XMrNkrHIdOc14aVpNikZmO9 UB9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zJ6KP8AYB+QWekcs4ggyM6Q+bcyBYTm1dsxFOhU2ngw=; b=okkhd6lF5ZaPMJuDtKXHelAFXae9inDhiiVN2ztfeolyEm+/Fj/Mlhz7mjEdN+3DDQ ZtBP4x3y1f2/8FnqW8viy6ZDHRngZ76HvjQ3BUfq47k7eXVnO69EYm6Bz4d1gxzpmzU3 gFWN9fOPZgd8xmscFtTGA1eIgMe0tb/yqI9L3eMifg/FNRvabJs1TO7YDaWLAN0hAtmd MRk3z6M5XZgfGo+GIDo6HbsjPed7DC7UKlRN23+JGI9uKsRCMIDGLLAtrfcP6cwL7m5t J1awQxH1RvSI5NlOm1qk20Ak4KANuF3P3Bid0G85sOIlCCTxY5EmxmM3bis79saQtljR ZEfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=lN52IYZb; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 62si5280507pgi.314.2018.12.31.11.42.44; Mon, 31 Dec 2018 11:43:02 -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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=lN52IYZb; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727716AbeLaS3L (ORCPT + 99 others); Mon, 31 Dec 2018 13:29:11 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:37186 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727379AbeLaS3K (ORCPT ); Mon, 31 Dec 2018 13:29:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=zJ6KP8AYB+QWekcs4ggyM6Q+bcyBYTm1dsxFOhU2ngw=; b=lN52IYZbivr/6e1Iq2bWQUzrM fZlDa1/etKF2icV9F20tYcTTuAXWc8rkr3fK6QmNVRLKntXhQqpfzbXyFGXPd36b/8NgEGE6SUDDg CKZof7RsVgNYM8amTF7mjTQDdLK77Hz8OXnP94wGyUg6CKbzrHXjQRhQusDbbj0OS4298=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ge2JF-0002VJ-95; Mon, 31 Dec 2018 18:29:05 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 5710A440080; Mon, 31 Dec 2018 18:29:04 +0000 (GMT) Date: Mon, 31 Dec 2018 18:29:04 +0000 From: Mark Brown To: Ben Whitten Cc: Andreas =?iso-8859-1?Q?F=E4rber?= , linux-lpwan@lists.infradead.org, Ben Whitten , LKML Subject: Re: [PATCH lora-next] net: lora: sx1301: Fix radio SPI write Message-ID: <20181231182904.GJ1846@sirena.org.uk> References: <20181230084427.32623-1-afaerber@suse.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ibvzjYYg+QDzMCy1" Content-Disposition: inline In-Reply-To: X-Cookie: knowledge, n.: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ibvzjYYg+QDzMCy1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Dec 31, 2018 at 12:14:34AM +0000, Ben Whitten wrote: > If the regmap_bus provider does need to apply the mask, can we get the > end device regmap_config and apply it from there? > Mark what are your thoughts on the route to take? If you're getting a byte stream in then it'll have the mask applied. If you're providing per-register read/write ops no formatting at all will be done, obviously in that case there's no need to bounce the information through the config. --ibvzjYYg+QDzMCy1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlwqX+8ACgkQJNaLcl1U h9Djwgf/f9wfIU7fjZkputX8arBtl//RHJx9zQr8OnNkxm93gfo6DpTHnrW0tVFR d5lDRzFRJgplNEVUgDjh08lUrbkXO87TywFS5RVgPylRefAEYAqXjKg1zhKMwww1 6lnvmlWF8l5jpikt18Uocb78wfbT05BJxa0Y3NhMIQhbGuqKu6hkwUwxiJmoTpnV J4cB+SXj6+sW5Jy2YrPttUcsMAoQnfSOZxFgacvEz+rFf1dBTIbQgKSvXrGDzn7F h+gxVrYV8UedZow9T/FgmVGtVq5QIy6s2VDMUzATWYNJiP1WbafaDq0J7oU+UHKU gl8jZei0UxcmWZziOX0u7CMXY2+i5A== =vr6s -----END PGP SIGNATURE----- --ibvzjYYg+QDzMCy1--