Message ID | 20190228181710.2477-4-minyard@acm.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B7CD81515 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 28 Feb 2019 18:23:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A28F12F5B7 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 28 Feb 2019 18:23:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 935C32F5F1; Thu, 28 Feb 2019 18:23:05 +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=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 276252F5B7 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 28 Feb 2019 18:23:05 +0000 (UTC) Received: from localhost ([127.0.0.1]:44560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1gzQKm-0004MQ-Dn for patchwork-qemu-devel@patchwork.kernel.org; Thu, 28 Feb 2019 13:23:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1gzQFg-0000WW-GZ for qemu-devel@nongnu.org; Thu, 28 Feb 2019 13:17:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1gzQFV-0002HH-9w for qemu-devel@nongnu.org; Thu, 28 Feb 2019 13:17:48 -0500 Received: from mail-ot1-x331.google.com ([2607:f8b0:4864:20::331]:43703) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1gzQFV-00029d-3f for qemu-devel@nongnu.org; Thu, 28 Feb 2019 13:17:37 -0500 Received: by mail-ot1-x331.google.com with SMTP id n71so18527736ota.10 for <qemu-devel@nongnu.org>; Thu, 28 Feb 2019 10:17:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QtEwVgsVkNKo8P3JnAy466q1OLHvwt1fGAGtvogK55Q=; b=BPMVSU0ycOUe6Eq3Gtq7rbak0wkoU5g2gdoSymnY8zlz8ohFXykwtHSH07yUBVVwrW x+JoMTVD9HY0F/rNHDtyFvvte2zL18nxp5nZyMEoEGpGqbr2fG1p4geDlSL6ZcAXz1Z6 nzDRRAiC1KukZYqkeGk8s2HK2ykt8FecCNFJPq9u6b8uEVYN6px17S0jy1ah4XJhmd1y hB//tcyGPAwr9AmCNSCLJ0vDrp9miXQnQ2d0a5SRt0drpbd6Y6pSzXz3XZTpua1E9LTR ZmS2y5QdBONgOEwa6VVedti0EPilGZ6aKGpDCRRGtrdr0xMZ5Nmofqo+03DEuJa/sQtk b8xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=QtEwVgsVkNKo8P3JnAy466q1OLHvwt1fGAGtvogK55Q=; b=U1uHJgB/e0eGgl9Y5gqVv1LPUwq9AYcAr7eexZlFs+NsyM6+GusE9iR+inXakVhhTj mGdjbebaD1SBCp0Nv/IGdI3y3TcZTck1dlORWzze9B6D+SH4+Nq2y+5VOygomQg+HL2n 96bSgcLwsK/YQrBIqwLT2USaElZ+Wmh5u7Sc7pZvCgD0JYr9ExayE0JCPV+EtBEKgfgN WgVWIqEzvH0w3xm10SVddnM1sIz4P9hHS8Ha4MeEl09zn1HuYA1tgIm/tQfKHpHfwtB1 nlZV3Ig5GtJ81JrUgRE7b1gdiHCwUKFnamkKDQmw4dPDqdwCMseQBM0cyYMd4Pb9lNbU 56FQ== X-Gm-Message-State: APjAAAWfc5SuydIT8dwqGFMsP65i3WSYkOQOctgn3p0KtBpXxzXRoL4Q xXXspN7rlr363vaX6myUsQ== X-Google-Smtp-Source: APXvYqznEpy6LUQOSmI+8iMMoDHeHtRXEk+YafN0Ybz1u68nxS3Gu4xwqBJrwfzH7VGLKfEOc+c0vw== X-Received: by 2002:a9d:6f0e:: with SMTP id n14mr614342otq.156.1551377836661; Thu, 28 Feb 2019 10:17:16 -0800 (PST) Received: from serve.minyard.net (serve.minyard.net. [2001:470:b8f6:1b::1]) by smtp.gmail.com with ESMTPSA id q67sm8432861oif.40.2019.02.28.10.17.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Feb 2019 10:17:15 -0800 (PST) Received: from t430.minyard.net (unknown [IPv6:2001:470:b8f6:1b:b89e:c7bf:12ab:ad14]) by serve.minyard.net (Postfix) with ESMTPA id BB0971808F4; Thu, 28 Feb 2019 18:17:13 +0000 (UTC) Received: by t430.minyard.net (Postfix, from userid 1000) id 5D4B0302AF5; Thu, 28 Feb 2019 12:17:13 -0600 (CST) From: minyard@acm.org To: Peter Maydell <peter.maydell@linaro.org> Date: Thu, 28 Feb 2019 12:16:54 -0600 Message-Id: <20190228181710.2477-4-minyard@acm.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190228181710.2477-1-minyard@acm.org> References: <20190228181710.2477-1-minyard@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::331 Subject: [Qemu-devel] [PULL 03/19] arm:i2c: Don't mask return from i2c_recv() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Corey Minyard <cminyard@mvista.com>, QEMU Developers <qemu-devel@nongnu.org>, minyard@acm.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[PULL,01/19] i2c: Split smbus into parts
|
expand
|
diff --git a/hw/arm/stellaris.c b/hw/arm/stellaris.c index 442529cc65..7b45fe3ccf 100644 --- a/hw/arm/stellaris.c +++ b/hw/arm/stellaris.c @@ -811,7 +811,7 @@ static void stellaris_i2c_write(void *opaque, hwaddr offset, /* TODO: Handle errors. */ if (s->msa & 1) { /* Recv */ - s->mdr = i2c_recv(s->bus) & 0xff; + s->mdr = i2c_recv(s->bus); } else { /* Send */ i2c_send(s->bus, s->mdr);