From patchwork Thu Jun 8 10:04:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Binoy Jayan X-Patchwork-Id: 103368 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2360204qgd; Thu, 8 Jun 2017 03:05:14 -0700 (PDT) X-Received: by 10.84.238.141 with SMTP id v13mr34247780plk.162.1496916314819; Thu, 08 Jun 2017 03:05:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496916314; cv=none; d=google.com; s=arc-20160816; b=rRqEI4b+raPRy0Zsv1Ra2uHFyPlqe7o0EQKTLL+mCS6vFdLf2Na3AzyW5X3OPHCxXc zJgKmeH2ooHR/xVUq8zV0Bw+VYfQLciR8pORTaXJ17s7+y4cymK7UdQCO9r4Vy90yM+Q 7/EIwHDWtBGCxyp6RNPVi0rF5FgNcXaJW54+4r/O/gm5Rj3H9bzLt2BRQ4z1/uqTH8Y9 I3eIMNPiG1wPvrMtJBlb4MKdHORiK5RngIiat74uvOp3dwXIohHK1yYC/+57flzcxYJz yCc+mvIBdLi1OChwEPObjIDuD0hZa/5LnrCoVrLa++qBmZrntrOcR6uoE1+IoMZJGGHW nhQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=fvJ4DSiVxoVnQf23IRTmKYSz/TJw35kdFKS8O8LQclQ=; b=bwHk5qh/d3u+o3uQNCHRiEDTsPcoIltIxn+3+a5HUN6NMjTnzc8ZYFUjUJgrTZAma1 WH10r5t8Fj2K9VYA7mLj8m74pAzNlrOzOyC/l1mmwY02UPKThPgp0Gx8pGD2B2oNH4xI PNro9PM1S1439bO2LVvaJ7mazrE7FDdKlFIeL4HIC/yqCDAUDk9OyKf5zyLnCczxtSFK nO0TbFktw70DepUDTgtT+wghJwZqqM+l274zfdNg3EtXz7rkSFCyAMwIrJBtfnawQlst ArlEobpDPe5Yml3MhK4rCfjSuhN+/ShV9Ga+tDGbSxAXpved8xjT204jR1/yyYYCHddx FUcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r1si4000869plj.407.2017.06.08.03.05.14; Thu, 08 Jun 2017 03:05:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-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; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-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 S1751515AbdFHKFN (ORCPT + 4 others); Thu, 8 Jun 2017 06:05:13 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:36210 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751344AbdFHKFM (ORCPT ); Thu, 8 Jun 2017 06:05:12 -0400 Received: by mail-pf0-f178.google.com with SMTP id x63so15546083pff.3 for ; Thu, 08 Jun 2017 03:05:12 -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; bh=fvJ4DSiVxoVnQf23IRTmKYSz/TJw35kdFKS8O8LQclQ=; b=e2wU9Bo4to6cwL1Gz2UmH84vlHPxO35XOjTYJMNTemPx/CpGirx3KAkGH9ftsuu63L iLeu/vHo6fIuzPaJNIjCDAnb5ErMBaJhZV1MNIvTxUweQv8DiVg9bcoS8OrbG4hJjtPt t2BQI3+plV5QfqtmuUNKF5wcSb7WX8B1BQ8OU= 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; bh=fvJ4DSiVxoVnQf23IRTmKYSz/TJw35kdFKS8O8LQclQ=; b=JPyz3UncCXsz3SUFpYYxOvyaeWlHg6JzuEeHqIP2zhyw9/EWBJcSIfhbNYCtcTZUDq iHdLxultDnQFfGCLqeiWESfzcuQ09sYuu+FtLKVQvyGL81Mh6kcyid7HUcxibFrfafoD LFdyA9L+uTyxFCcscZ/w/1XrkXDCnKRooCEWmmSQOiGOSC5Mfri9PHLcjFup7RrAZVX7 JWHYNnqJevbw5QclHNc0WDMur3Lq3dVbzCruL7IaT4o/Y9L523ZKfX6FWdBHblpYh0JV P75kgLrjE/pNgk2p0zJ7XP8ju8xuXUQFVoARvTIJDwHaU2HukJkL/ICmdG0IwpIRxwyY j4Fw== X-Gm-Message-State: AODbwcADXfjMcUQfl1snYlBJS0+UbUE3fR5hFXim/2P2ks54ISmdDxPZ IZQlh2JA0hIwO7iU X-Received: by 10.84.129.67 with SMTP id 61mr24916098plb.229.1496916312143; Thu, 08 Jun 2017 03:05:12 -0700 (PDT) Received: from blr-ubuntu-59.ap.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id r14sm10528423pfe.9.2017.06.08.03.05.08 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 03:05:11 -0700 (PDT) From: Binoy Jayan To: Binoy Jayan Cc: linux-kernel@vger.kernel.org, Arnd Bergmann , Rajendra , Mark Brown , Mauro Carvalho Chehab , Sakari Ailus , Julia Lawall , "Michael S. Tsirkin" , Cao jin , linux-media@vger.kernel.org Subject: [PATCH 0/3] ngene: Replace semaphores with mutexes Date: Thu, 8 Jun 2017 15:34:55 +0530 Message-Id: <1496916298-5909-1-git-send-email-binoy.jayan@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org These are a set of patches which removes semaphores from ngene. These are part of a bigger effort to eliminate unwanted semaphores from the linux kernel. Binoy Jayan (3): media: ngene: Replace semaphore cmd_mutex with mutex media: ngene: Replace semaphore stream_mutex with mutex media: ngene: Replace semaphore i2c_switch_mutex with mutex drivers/media/pci/ngene/ngene-core.c | 28 ++++++++++++++-------------- drivers/media/pci/ngene/ngene-i2c.c | 6 +++--- drivers/media/pci/ngene/ngene.h | 6 +++--- 3 files changed, 20 insertions(+), 20 deletions(-) -- Binoy Jayan Reviewed-by: Arnd Bergmann