From patchwork Mon Jan 14 13:44:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 10762645 Return-Path: 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 19AEE13B4 for ; Mon, 14 Jan 2019 13:53:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0585328BAF for ; Mon, 14 Jan 2019 13:53:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EBC4D28BE4; Mon, 14 Jan 2019 13:53:37 +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,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 236A428BAF for ; Mon, 14 Jan 2019 13:53:35 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 53FBF266BD4; Mon, 14 Jan 2019 14:46:03 +0100 (CET) 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 F3CEB266B69; Mon, 14 Jan 2019 14:45:58 +0100 (CET) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by alsa0.perex.cz (Postfix) with ESMTP id 1F54226699F for ; Mon, 14 Jan 2019 14:45:54 +0100 (CET) Received: by mail-wr1-f67.google.com with SMTP id t6so22853642wrr.12 for ; Mon, 14 Jan 2019 05:45:54 -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:mime-version :content-transfer-encoding; bh=D6GX4QfPBBeacrHbLNIDhvIKv4Puslem9kqoKjLJKUM=; b=I5qBXJK53+ViG2XP6ArXMff/EiwoJ2JYNn0QgwNH2GwfIgFU2N/P1j2Adofg+1p8fW ssNu1nm8HYNha9sGTIQYb3MPZkpWjFm0qcsLGBZlWKA//1oaoymEWt9qaIKq0Ro66Qa9 ux8/2hLxKFFZOBFsLFEfs/kNRGPKAJySQuh8M= 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=D6GX4QfPBBeacrHbLNIDhvIKv4Puslem9kqoKjLJKUM=; b=qfY/4DJgGGQSDfTy9FX5qMTwA7aY7/nbpLV20a1mZktZkM1bWhI4hRucHLWfpVDiF5 BuOd7wDMDKxl9JH2r6fJagvsYTNaEzPfanqH62BY17NkIhSJYsoCoPIJdPYq8dYHXpI2 QHq0nHh+7UGU/msFPq5XatTY5B+TvCmpV5QY+885lJrhkn8CxYifUKO3J1GgNmv3dTvI silZmjwH4xwKsM4EMGBVNzqq0poQYmVCxsWktDIDwOomINcgkCYZQcKLX1CJ3w32bGGN XTNn59FaXRi1Nh8efNKxbT35DyitM+EnrNNuxRmc6apFGWYgXZhUSNo6maM/n7jdUOox Xxqw== X-Gm-Message-State: AJcUukdx6wtDS/5QvES4F1Bz1J1IkR2SUoj3uCVyTIn8jgxNlgv7r4hn XBOFUkBsSqsPJQw6ndrWILpl7A== X-Google-Smtp-Source: ALg8bN7AfwMvqIo3GaOqqKsF/CmLhASWf+Ic03gMUVfGKaWJwrbflnl+uzu3VV5T2d4pIRd3RIJ+Fg== X-Received: by 2002:adf:de91:: with SMTP id w17mr25968246wrl.320.1547473554392; Mon, 14 Jan 2019 05:45:54 -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.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Jan 2019 05:45:53 -0800 (PST) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Date: Mon, 14 Jan 2019 13:44:45 +0000 Message-Id: <20190114134449.15367-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Cc: linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, broonie@kernel.org, Srinivas Kandagatla , linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH 0/4] slimbus: minor fixes. 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Here are some minor fixes to slimbus core for issues found while testing wcd9335. First one is make the slimbus core match full device id, second one is to avoid using big lock in status callback function, third one is to use status function rather than directly invoking the status ops. finally last one is to fix missing spinlock init. Thanks, srini Srinivas Kandagatla (4): slimbus: core: match full device id slimbus: core: do not call device_status under a lock slimbus: core: use slim_device_update_status() to update status slimbus: core: add missing spin_lock_init on txn_lock drivers/slimbus/core.c | 45 +++++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 20 deletions(-)