From patchwork Fri May 25 14:36:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 136930 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3675516lji; Fri, 25 May 2018 07:38:54 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL/OfPh/5Sxbgdx2i2YEHTqzqsdlboA9xSUPBYp/TszGh7CUGeI2aJqHEEg1m1M4TP7VWSH X-Received: by 2002:a1c:5b88:: with SMTP id p130-v6mr2239474wmb.100.1527259134314; Fri, 25 May 2018 07:38:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527259134; cv=none; d=google.com; s=arc-20160816; b=N7oIv9LTOC4ofyqLQ7FZClOimNtjY/TYD1MeS0RWvfE3oidj3cIn7gLTsztGLYsusy F7TCMoD/FYwPADvutxFwaLE9VIgXcW3rPlpIF86nNb5og8tYnui5W9YWFHVjZBlLtuKO SicKegGHT8uvTkC8dIOxZu0/2lduIRtURw6EagzfQQirmjc2sJOzpWMKLNMSmrnSd19D JXVApnmwZy0qqHptEXlUSmeZDHuSEEI1YbeWWiteIjg90D6DqrCqA82/PQkGD9dse1cF zk2JOBR8uWaytYCvifmHPKCQFk0bbHHUSzbxbxNstlV923Pk+BlQ1QUBjRaLIbDOD29g r/9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to:arc-authentication-results; bh=PNqhwKyaKLYYvhsCroPxiT51DupikGSY1wVnps+/2Ic=; b=IRRtiWWwl+Pbc/3dkTCGugo8oXKXRVvTu0rn6uKMSZKd3fLfnK+uVcqH27cQZlhkwr vxFTwR+0heghbSso2ryFKriAgKgnfQXykv8q1atDKzP/73UNUzu60/q8HHBq67jQiGnW 5Y45Y96nL/SL5ypmGk2dGssunbFX51uVWtO/T8ONERwm3h0lStWgJr7Ur3M8MagT8I1L K7W3phLCQE5RF1vAZZfz9+1XMD1EMIjr5z8pvaXdW57nL/ILdCe1UH2e0fw4QUdv9hLF rWLMUwq+ynWBIcP7nmo3YBAXJrfj97BqOagpbE6KLS0cRUNDWpWm9Xi/smAC9T/gihOj amwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Sq2//5bd; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id 9-v6si11196718wrk.258.2018.05.25.07.38.54; Fri, 25 May 2018 07:38:54 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Sq2//5bd; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 823242676A3; Fri, 25 May 2018 16:38:32 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 4FF7226766C; Fri, 25 May 2018 16:38:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by alsa0.perex.cz (Postfix) with ESMTP id 6EBFA267669 for ; Fri, 25 May 2018 16:38:25 +0200 (CEST) Received: by mail-wr0-f194.google.com with SMTP id y15-v6so9651815wrg.11 for ; Fri, 25 May 2018 07:38:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DnQSKW5o2YhxDqE/nKAX2tk0JqwF4Q5eataCmZqSwi4=; b=Sq2//5bddU5dZBzQx6F88HiXuRPHoCZpBTPjS8rTnpKKaAZFa5FvwAWxPZjxJ+TsYP ctl5fJQMqI5ZXnyHhPQaLhpQX3W907zgI6cTtm+pdzpDbeDvYHMN/Zb0+tOCXDpc9QNd 2Mxcjyie2bWeify5BE/cQrMvjGLbIEvCHUD/g= 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:in-reply-to :references; bh=DnQSKW5o2YhxDqE/nKAX2tk0JqwF4Q5eataCmZqSwi4=; b=KLhMeQTUTrL+JZhHRbF3EhORpjIEG0TX/t4Q4qtFNm4l1uPIMVDzycTOwu//pM34MI pdgFHo4mq3lRmLNZJRDMOiZJ1ATJX+dK3RiUzQzGxn/w44ix0OI5ZVpkFrXjkXjlc+by bX0pI1d1OGKo20N2+YU+A+JBTrH27dmJt2j2OFpcWMALn3yKPT2f6rqZUuz9+a0tcHMA TlthHh+mVktWNL6wtyTlU5GeunhrLEU1mTyPHrXqgTvxDeQeASb2kJM9QLzBqC/N09e5 JuYncvSosoBSRk4GAXGF5Bc2h/1JKjaKLnS960MMxYoW8WWwnIW10lzc5eTxLCpj88aB 7BrA== X-Gm-Message-State: ALKqPwfq6P6GpYJxwz6jMJIbgbmm/SzZQ1xVKHsZHRqYgO4GL/HT91QW VOagacAfxO8uoGtZakRWwE3V5g== X-Received: by 2002:adf:b201:: with SMTP id u1-v6mr2659738wra.2.1527259104795; Fri, 25 May 2018 07:38:24 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id r6-v6sm26165729wrg.73.2018.05.25.07.38.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 May 2018 07:38:24 -0700 (PDT) From: Srinivas Kandagatla To: Greg Kroah-Hartman Date: Fri, 25 May 2018 15:36:13 +0100 Message-Id: <20180525143618.820-4-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180525143618.820-1-srinivas.kandagatla@linaro.org> References: <20180525143618.820-1-srinivas.kandagatla@linaro.org> Cc: alsa-devel@alsa-project.org, Srinivas Kandagatla , linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH v3 3/8] slimbus: messaging: pass correct wbuf X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org There seems to be a typo while filling msg for slim_write, wbuf is set to NULL instead of rbuf. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/messaging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/drivers/slimbus/messaging.c b/drivers/slimbus/messaging.c index 457ea1f8db30..5a2ff01b394c 100644 --- a/drivers/slimbus/messaging.c +++ b/drivers/slimbus/messaging.c @@ -307,7 +307,7 @@ int slim_write(struct slim_device *sdev, u32 addr, size_t count, u8 *val) { struct slim_val_inf msg; - slim_fill_msg(&msg, addr, count, val, NULL); + slim_fill_msg(&msg, addr, count, NULL, val); return slim_xfer_msg(sdev, &msg, SLIM_MSG_MC_CHANGE_VALUE); }