From patchwork Tue Jun 15 15:55:45 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manuel Lauss X-Patchwork-Id: 106241 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o5FFtx3I008796 for ; Tue, 15 Jun 2010 15:55:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752217Ab0FOPz6 (ORCPT ); Tue, 15 Jun 2010 11:55:58 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:63423 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751196Ab0FOPz5 (ORCPT ); Tue, 15 Jun 2010 11:55:57 -0400 Received: by mail-fx0-f46.google.com with SMTP id 10so257696fxm.19 for ; Tue, 15 Jun 2010 08:55:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=9lqdb0q0T5ID6Codb2UbxLzxdCwbeJ0sxlVzfHjtq1U=; b=or7znm0QqYcLBuA7NJkPDSXPJT1egRPzCKWpujaZ8XMvXjSj47q6mtylLrG6cloiw2 q2rUrdC6rj4noUvgq3KL6OU274zQyfdvgJ/fo38PTx/yVRXMrYXyzfTox4zcASof+XHr lAPIHsDhwTTdgW61flaSt+zXsXAKdxoXFFHOY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=V737B3O1aa5/RF2V1xkTSn9Z2jeuJsoEyjaLw13Ch7s/kvcU7VW6I/tliYxPi9QKEC 3tbPpyy0zRLo7ZG0xIwbINOfKGrUsLWzG89sPNfCmBYQfx5sex8B3kzBDGg//FsAefeD ofrg7jfO6kFl6VIQ+9qiwrG369VDkZtesUfOw= Received: by 10.223.44.86 with SMTP id z22mr7539282fae.13.1276617356067; Tue, 15 Jun 2010 08:55:56 -0700 (PDT) Received: from localhost.localdomain (p5496BAFC.dip.t-dialin.net [84.150.186.252]) by mx.google.com with ESMTPS id p21sm10077036fak.21.2010.06.15.08.55.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 15 Jun 2010 08:55:54 -0700 (PDT) From: Manuel Lauss To: alsa-devel@vger.kernel.org, Mark Brown Cc: linux-input@vger.kernel.org, Manuel Lauss Subject: [PATCH RFC 1/3] sound: ac97: Add GPIO manipulation hooks Date: Tue, 15 Jun 2010 17:55:45 +0200 Message-Id: <1276617347-3522-2-git-send-email-manuel.lauss@googlemail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1276617347-3522-1-git-send-email-manuel.lauss@googlemail.com> References: <1276617347-3522-1-git-send-email-manuel.lauss@googlemail.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 15 Jun 2010 15:55:59 +0000 (UTC) diff --git a/include/sound/ac97_codec.h b/include/sound/ac97_codec.h index 4940045..db3aee1 100644 --- a/include/sound/ac97_codec.h +++ b/include/sound/ac97_codec.h @@ -437,6 +437,8 @@ struct snd_ac97_bus_ops { unsigned short (*read) (struct snd_ac97 *ac97, unsigned short reg); void (*wait) (struct snd_ac97 *ac97); void (*init) (struct snd_ac97 *ac97); + void (*setgpio) (struct snd_ac97 *ac97, unsigned short gpio); + unsigned short (*getgpio) (struct snd_ac97 *ac97); }; struct snd_ac97_bus {