Message ID | 20190114134449.15367-5-srinivas.kandagatla@linaro.org |
---|---|
State | Accepted |
Commit | 8147760d86e4c8938dfc44ef199837bbbb02f2f3 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3674826jaa; Mon, 14 Jan 2019 05:46:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN6PgIM/qag8igy1//1CXObbG9H3+KrEYK8p9ve3i9vHQds6I7D9v3/DT8DbwjYMFfeQFilf X-Received: by 2002:a62:220d:: with SMTP id i13mr25289370pfi.162.1547473565857; Mon, 14 Jan 2019 05:46:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547473565; cv=none; d=google.com; s=arc-20160816; b=CwauMRmbm31tj9WeMJ4Czq0QZsCtMLIzgGzwx89Fh/f3vH3CZ/7UZOr+ZG6zAgYFMd su5yhNJ7Gsmpri8e8ahopXWanHUrQXeVYt/UrRQ++jNuFIcfQGzQC1fYJfVpiOBGpF/1 4ON51Ne1orVuHDXbKyjbp1kBGducf0RJe3wPLf9QRauLyIkHGiwxocfpIuwmXYw6k2VH sbjbzG0sfJGaNYdNHidIJK3aePR9jphwriMwjgdwfZNAQtVG2vzknCWWRw2/hAuGVC5z a177dXPDEKhknBSNnT3PPgefDIc+iK2Pu3XaM/URWbV8T2vsr9ud97sqLvS2CN5SkkzC sDVw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=O84mJPX8rC7OO4KioGFTyrv4Z9BLr8QwdnxN2Cr0+Iw=; b=glNAyQwDYpde0CpVMpyTXLtt/UIGOwy46EWLTlgd0DiVSHKPWSr0PbSHk53be13Xsf bOpSoEvMtX2JCga6rnQXzzrUohjx2iGTI7hBikSJuXYjK6oJB8gGbD+wYXgkxi5Tfvp4 lXUixoAnYF/JcTc+qmOSllSTDUFgsSN1MGl/q9TurphaKbSp1W7jB12CuXX43gAcpFgJ ipQU7FzXcxAoZNsmuvKxn7shVnZT0k1PzBaQzGcB77hEsEkKehnmPjjPkjVeliF5k8k1 0kJBLMGv5TwfYY2IfD0lKXKwTlgvFE8JRw0PVvWnVVm0QyKN3xC/7kd+Hf61/wX7azkg kINQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Xv+mo420; 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=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i7si404439pgc.144.2019.01.14.05.46.05; Mon, 14 Jan 2019 05:46:05 -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=@linaro.org header.s=google header.b=Xv+mo420; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726712AbfANNqE (ORCPT <rfc822;igor.opaniuk@linaro.org> + 31 others); Mon, 14 Jan 2019 08:46:04 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:43592 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726644AbfANNqB (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 14 Jan 2019 08:46:01 -0500 Received: by mail-wr1-f68.google.com with SMTP id r10so22903625wrs.10 for <linux-kernel@vger.kernel.org>; Mon, 14 Jan 2019 05:45:59 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=O84mJPX8rC7OO4KioGFTyrv4Z9BLr8QwdnxN2Cr0+Iw=; b=Xv+mo420RQ7SowyXQw5AOCTKRj/czTkjlgmqK2fPHy5sIyzgCxajeFCQkYBrAPj+95 +Fju2rw+nA/0cRLQlXuiFPULIZJGWcF/j3Qyi5ZPa66gsosd/FfNWpVg0zplq66CTSxK GbBvRVkhYOhLZXsP85cjaruzTkBMzLR5qQUkQ= 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:mime-version:content-transfer-encoding; bh=O84mJPX8rC7OO4KioGFTyrv4Z9BLr8QwdnxN2Cr0+Iw=; b=KwyvCwe50vLtSO04Thwl0shAhH97J04auy8Wu+TFm6RjrkM/GBoX77mX9DerL9q9MD 9v5g6KxACqXv7kjukTeJ4mARCxPrAn5KAVF77hd7e/dPjMS0Il5Bm2xeXfHXXfTBR3/Z HCimSPnIjEP00c7t0cGReWcHBl5NBtShptkE+SCWL15XZ26eitb8NWVkYMm916SCqcIt FzxJUnVwRtXI13GdbRKgXsKhH/MI2+nSqMuPuI12y0ff/PiDx/xWG6Q9apgIv8EooI4e lvN4FqHtaVpVko/YPyA0QRmZ16lEdQcTSjXRdTXNMZeo6WW6MIRn1S6zv6sNb9Ge+Pmc lW3A== X-Gm-Message-State: AJcUuke4uwfdbu1+bh8rIBfWNgbex+qCveZLYppdDWKu448igirR8dsg js0PuZuf+4XWEXY1SbiMiZHsLg== X-Received: by 2002:adf:b6a1:: with SMTP id j33mr24357526wre.55.1547473559036; Mon, 14 Jan 2019 05:45:59 -0800 (PST) Received: from srini-hackbox.lan (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.gmail.com with ESMTPSA id x10sm86766472wrn.29.2019.01.14.05.45.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Jan 2019 05:45:58 -0800 (PST) From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, broonie@kernel.org, linux-arm-msm@vger.kernel.org, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH 4/4] slimbus: core: add missing spin_lock_init on txn_lock Date: Mon, 14 Jan 2019 13:44:49 +0000 Message-Id: <20190114134449.15367-5-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190114134449.15367-1-srinivas.kandagatla@linaro.org> References: <20190114134449.15367-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
[1/4] slimbus: core: match full device id
|
expand
|
diff --git a/drivers/slimbus/core.c b/drivers/slimbus/core.c index 8ffdc9876223..b2f07d2043eb 100644 --- a/drivers/slimbus/core.c +++ b/drivers/slimbus/core.c @@ -274,6 +274,7 @@ int slim_register_controller(struct slim_controller *ctrl) mutex_init(&ctrl->lock); mutex_init(&ctrl->sched.m_reconf); init_completion(&ctrl->sched.pause_comp); + spin_lock_init(&ctrl->txn_lock); dev_dbg(ctrl->dev, "Bus [%s] registered:dev:%p\n", ctrl->name, ctrl->dev);
Add missing spin lock intialization this also fixes the spinlock bad magic warning. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> --- drivers/slimbus/core.c | 1 + 1 file changed, 1 insertion(+) -- 2.20.1