From patchwork Tue Nov 27 06:32:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 1808681 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id D0582DF254 for ; Tue, 27 Nov 2012 06:32:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756510Ab2K0GcS (ORCPT ); Tue, 27 Nov 2012 01:32:18 -0500 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:41430 "EHLO opensource.wolfsonmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755906Ab2K0GcS (ORCPT ); Tue, 27 Nov 2012 01:32:18 -0500 Received: from finisterre.wolfsonmicro.main (cpc1-sgyl4-0-0-cust247.18-2.cable.virginmedia.com [82.41.24.248]) by opensource.wolfsonmicro.com (Postfix) with ESMTPSA id 2A3A3110A32; Tue, 27 Nov 2012 06:32:17 +0000 (GMT) Received: from broonie by finisterre.wolfsonmicro.main with local (Exim 4.80) (envelope-from ) id 1TdEiO-0001sq-6s; Tue, 27 Nov 2012 06:32:16 +0000 From: Mark Brown To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, Mark Brown Subject: [PATCH] Input: Document no-sleep requirement for playback() callback Date: Tue, 27 Nov 2012 06:32:15 +0000 Message-Id: <1353997935-7210-1-git-send-email-broonie@opensource.wolfsonmicro.com> X-Mailer: git-send-email 1.7.10.4 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Avoids surprising users. Signed-off-by: Mark Brown --- include/linux/input.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/input.h b/include/linux/input.h index 82ce323..0ba0de1 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -475,7 +475,8 @@ extern struct class input_class; * struct ff_device - force-feedback part of an input device * @upload: Called to upload an new effect into device * @erase: Called to erase an effect from device - * @playback: Called to request device to start playing specified effect + * @playback: Called to request device to start playing specified effect. + * Must not sleep. * @set_gain: Called to set specified gain * @set_autocenter: Called to auto-center device * @destroy: called by input core when parent input device is being