From patchwork Mon Aug 6 15:11:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 10546 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 510FC24039 for ; Mon, 6 Aug 2012 15:11:58 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 18414A18D86 for ; Mon, 6 Aug 2012 15:11:58 +0000 (UTC) Received: by yenq6 with SMTP id q6so2589746yen.11 for ; Mon, 06 Aug 2012 08:11:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:mime-version:content-type :x-gm-message-state; bh=mm/cXoF5+VAuB6+r8aSVOgMdbUW+BSWHl1Y322H5xZU=; b=gLV/J5/kLlBCv2+Bik04yxNzN0jSB1CgxbijlEzhf5hsj0thQ7bZm377LFsxsPtm5D u5GBc75YpHsGAX4EwWDeWQTBytVCT3nK/2RJq1ChVPd2e4Dy5I0EMg3MiUiHSMF4lene VWnXfN+TU1vq/3miF5TB9qLg3te0iVTHfygQdXSJcEfgqPYfcxMMJ9ONjYk3HXgjGPN5 ygioBnfKQBFvywrS2EZvqcxx7Ct+vIB8aqxkFW7BAHIKvzOIOO2f8Uty55IQJgXWtNUx 3tVhhvap0IxJyNXg56KX/m1OU9V38uxNQ64TqeWDbDfIWWdjYAPQE1wUElEQgUUDPzxD oiJQ== Received: by 10.42.123.130 with SMTP id s2mr3865292icr.50.1344265916662; Mon, 06 Aug 2012 08:11:56 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.87.40 with SMTP id u8csp446512igz; Mon, 6 Aug 2012 08:11:55 -0700 (PDT) Received: by 10.14.206.200 with SMTP id l48mr13292644eeo.41.1344265915032; Mon, 06 Aug 2012 08:11:55 -0700 (PDT) Received: from eu1sys200aog107.obsmtp.com (eu1sys200aog107.obsmtp.com. [207.126.144.123]) by mx.google.com with SMTP id 1si533248eee.61.2012.08.06.08.11.50 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Aug 2012 08:11:55 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.123 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.123; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.123 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-us.st.com ([167.4.1.35]) (using TLSv1) by eu1sys200aob107.postini.com ([207.126.147.11]) with SMTP ID DSNKUB/etQ/A1oA2r4LSI7lRlPvDNp+hYxTV@postini.com; Mon, 06 Aug 2012 15:11:54 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.16.71]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id ED5E43E; Mon, 6 Aug 2012 15:11:21 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id 1F3124E; Mon, 6 Aug 2012 11:40:54 +0000 (GMT) Received: from exdcvycastm004.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm004", Issuer "exdcvycastm004" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 0130424C07C; Mon, 6 Aug 2012 17:11:39 +0200 (CEST) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.2) with Microsoft SMTP Server (TLS) id 8.3.83.0; Mon, 6 Aug 2012 17:11:46 +0200 From: Linus Walleij To: Liam Girdwood , Mark Brown , Cc: Linus Walleij , Axel Lin Subject: [PATCH] regulator: ab3100: add missing voltage table Date: Mon, 6 Aug 2012 17:11:40 +0200 Message-ID: <1344265900-17726-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.11.3 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlgJtWpo2JnAqOVVKnutGSMyIEXK0kiZDp3f4+K+NmJzaH5YTttgAL6lO9mxO5/tXX2wQO0 From: Linus Walleij The conversion to voltage tables in commit a3beb74261f26142019847128b2441b0301797ac "regulator: ab3100: Use regulator_list_voltage_table()" missed to add the voltage table to the buck. Fix this and it works like a charm. Cc: Axel Lin Signed-off-by: Linus Walleij --- drivers/regulator/ab3100.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/ab3100.c b/drivers/regulator/ab3100.c index 182b553..c151fd5 100644 --- a/drivers/regulator/ab3100.c +++ b/drivers/regulator/ab3100.c @@ -486,6 +486,7 @@ ab3100_regulator_desc[AB3100_NUM_REGULATORS] = { .id = AB3100_BUCK, .ops = ®ulator_ops_variable_sleepable, .n_voltages = ARRAY_SIZE(ldo_e_buck_typ_voltages), + .volt_table = ldo_e_buck_typ_voltages, .type = REGULATOR_VOLTAGE, .owner = THIS_MODULE, .enable_time = 1000,