Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2826463imu; Sun, 23 Dec 2018 08:39:06 -0800 (PST) X-Google-Smtp-Source: ALg8bN7kHUcybtIBtNS5XVc+OwKI7VDVUCcPvbj6Knu+MUsbP3LeAo/5Tnh9j/vfsW6R3E7YSYx6 X-Received: by 2002:a63:cf02:: with SMTP id j2mr9798677pgg.113.1545583146785; Sun, 23 Dec 2018 08:39:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545583146; cv=none; d=google.com; s=arc-20160816; b=Ig9Gd2lHjSW/GxSTJ4zRbe/Q5MIY6+jMVC5PA6uKDI/5muzXjNeD4MIInbCGtWbXik YmHaGbT3fyclCmPkVn53YT17TeL+iHxRSjr+IrKRW62WEbwMQtjSF6cG7bbHjKKC1fGV FrgAICgcJaChgjCqTI3q3TWs5TsriVwEbpjXr56Y/f6TCqBgW/t9R38Kprmz+omCOHUt 3BX/fiB1CeMxeRcRX/iY1T5rrHWJQmuX6Ab3ZgjZ9L6zPF+HsVipBPtvaK4zOYZNpuLY Qpy7jLKKTKhrhoAh40Mr3vKk9y2fDwzyAd/HvOq5DbIv4TEbg247jn8eN3NFiMKLxWJA GL8Q== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hdF8ugqool5/7m6T7Ru9/LvgWvMiths0KxMCiJxQh18=; b=pPvUdSOzYaRQXC8x75FIq2iFgUAjG3DlC4QApqtWcmeyvfleZFJBGwCvgAMAVcojLX 8qG/OXfCcp4TKPlzgpiC8F/lX/1pWuUOVkV3L2V+Xf9572BY5DmBquJaNriCpn8GR3uK LoekMlG8jAIuoOLD3PoqJE+42hNlrfUeKYKtNRT8WZmkCHzwPKPpq8HPK5aMCxRGwUku lOHshLgdi5EBtl3d89QVRSbw0lc7d0UBnCVd64GSezXVAxYahmqnCh6rX7dJotzQIf4u J4vpXlq/X4cvyuYJMqf3ZpCBnu3KGWRASzgSDTVFBHWSIqB22rLphJd9hieZdQ57q+yh DbgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=T2IXd4ec; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4si9754571pga.377.2018.12.23.08.38.51; Sun, 23 Dec 2018 08:39:06 -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=@gmail.com header.s=20161025 header.b=T2IXd4ec; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725779AbeLWE6M (ORCPT + 99 others); Sat, 22 Dec 2018 23:58:12 -0500 Received: from mail-it1-f196.google.com ([209.85.166.196]:36872 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725267AbeLWE6L (ORCPT ); Sat, 22 Dec 2018 23:58:11 -0500 Received: by mail-it1-f196.google.com with SMTP id b5so11948611iti.2; Sat, 22 Dec 2018 20:58:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hdF8ugqool5/7m6T7Ru9/LvgWvMiths0KxMCiJxQh18=; b=T2IXd4ec316bMaxZrMZylztEvbIWSZwGaqqD8hau+vaEDcZWA5cNTXkYLfTOJECljB ymOj4ZbwZuM5+JbzAhYphzG/Fkx+F7NkWmLsNvw0R3tdTEw3wxtt8bgWTiWwgv7xfoZh ATgf1wjLbabJeQChwTvEOIiWscAa0eCw9zAtIhVET5U8AseDLPf9k9/oFESTKJLe48On CspXiA9CMzK1NRyeXF8mSdWG9kRWZUYAhRw7IKSnwhV0qpkBTJSDf9mwHlG4d/wPe4bw toj6WRVLE8MOyKnns9ASCKi+VXW7XO1cNkpmdKzMCL1nLTSQCTp6rcuxu4ZBdd4ihTTh VFWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hdF8ugqool5/7m6T7Ru9/LvgWvMiths0KxMCiJxQh18=; b=d4u7+T7ZP5h2M9T+wdzCC/hDCS40mykHOuWjvz7a5Vp9qjonLDxSX6VFyajYORtJHC Wyt53rw7EwpZD8bGsb1yquO69s93nWTBE/RIMzSXjDjGoatiVYevdCrcP1+ldDhaZIPu MXZNUiuDQKi2TfiUbeNEILqu35D19945YnjbZ2f1d+ui7+zu2wpzfHiMdTveaWhD+XOp 1YHfaaMH8Y27DSh34+0NDOt0Vbr3hmDUhMLT1i1UTT3IiTPyTGSEAFG89rKf/FLIia1c uW7jdHVZMIUc8siIFYo5gLEqXoLekxUXaIlSUOEifFe8pnjrQtAa4HsYO3f5bFIAOkww f1Hg== X-Gm-Message-State: AA+aEWa4653sNTBWDOBqrUUoA6ZRol4Sh6RR6gV9ITexiYg/rkTn1Iff YAoDSJ52o0SXoHiWxOqPiuc= X-Received: by 2002:a02:1217:: with SMTP id i23mr5772148jad.53.1545541091089; Sat, 22 Dec 2018 20:58:11 -0800 (PST) Received: from r2700x.localdomain (c-75-70-96-103.hsd1.co.comcast.net. [75.70.96.103]) by smtp.gmail.com with ESMTPSA id 15sm8435378itv.11.2018.12.22.20.58.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Dec 2018 20:58:10 -0800 (PST) From: Jeremy Fertic To: Jonathan Cameron Cc: Lars-Peter Clausen , Michael Hennerich , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Jeremy Fertic Subject: [PATCH v2 0/4] staging: iio: adt7316: dac fixes Date: Sat, 22 Dec 2018 21:57:39 -0700 Message-Id: <20181223045743.10716-1-jeremyfertic@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes in v2: - Patches 1-2: reworded commit messages and added Fixes tags - Patches 3-4: added Fixes tags Jeremy Fertic (4): staging: iio: adt7316: fix dac_bits assignment staging: iio: adt7316: fix handling of dac high resolution option staging: iio: adt7316: fix the dac read calculation staging: iio: adt7316: fix the dac write calculation drivers/staging/iio/addac/adt7316.c | 46 ++++++++++++++++++----------- 1 file changed, 28 insertions(+), 18 deletions(-) -- 2.19.1