From: "Roy Huang" Subject: Question about write asoc driver Date: Mon, 9 Jul 2007 16:50:11 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by alsa0.perex.cz (Postfix) with ESMTP id 3781C10384D for ; Mon, 9 Jul 2007 10:50:13 +0200 (CEST) Received: by py-out-1112.google.com with SMTP id d32so1563163pye for ; Mon, 09 Jul 2007 01:50:12 -0700 (PDT) Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Hi guys, I am write a codec driver under asoc frame work for ad1980 by study the sample driver wm9712.c. I find there are some control item likes "out3 switch" to control 16h:15. There are also some widget item likes "out 3 PGA" to control 24:5. How can I determine a register bit should be a control item or widget item? Thanks ahead. -Roy