Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754682AbaDRR21 (ORCPT ); Fri, 18 Apr 2014 13:28:27 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:42269 "EHLO mail-wg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752982AbaDRR2R (ORCPT ); Fri, 18 Apr 2014 13:28:17 -0400 MIME-Version: 1.0 In-Reply-To: <1397757570-19750-3-git-send-email-dianders@chromium.org> References: <1397757570-19750-1-git-send-email-dianders@chromium.org> <1397757570-19750-3-git-send-email-dianders@chromium.org> Date: Fri, 18 Apr 2014 11:28:16 -0600 X-Google-Sender-Auth: 6Jk4DySKO4CmBRxpBDSHmB_CG48 Message-ID: Subject: Re: [PATCH 2/7] mfd: cros_ec: spi: Add mutex to cros_ec_spi From: Simon Glass To: Doug Anderson Cc: Lee Jones , Stephen Warren , Wolfram Sang , Andrew Bresticker , Dylan Reid , Olof Johansson , linux-samsung-soc , "linux-tegra@vger.kernel.org" , Samuel Ortiz , lk Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Doug, On 17 April 2014 11:59, Doug Anderson wrote: > The main transfer function for cros_ec_spi can be called by more than > one client at a time. Make sure that those clients don't stomp on > each other by locking the bus for the duration of the transfer > function. Is there no lock at the cros_ec layer? Regards, Simon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/