From patchwork Sat May 21 14:12:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guy Martin X-Patchwork-Id: 805872 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4LEJwwX026154 for ; Sat, 21 May 2011 14:19:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752012Ab1EUOT4 (ORCPT ); Sat, 21 May 2011 10:19:56 -0400 Received: from luna.schedom-europe.net ([193.109.184.86]:58335 "EHLO luna.schedom-europe.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751620Ab1EUOT4 (ORCPT ); Sat, 21 May 2011 10:19:56 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Sat, 21 May 2011 14:19:58 +0000 (UTC) X-Greylist: delayed 402 seconds by postgrey-1.27 at vger.kernel.org; Sat, 21 May 2011 10:19:55 EDT Received: (qmail 26532 invoked by uid 507); 21 May 2011 16:13:12 +0200 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on luna.schedom-europe.net X-Spam-Level: *********** X-Spam-Status: No, score=11.2 required=15.0 tests=BAYES_99, FH_DATE_PAST_20XX, RCVD_IN_PBL,RDNS_DYNAMIC autolearn=disabled version=3.2.5 Received: from ip115.dyn1.liege.schedom-europe.net (HELO ibiza.bxl.tuxicoman.be) (83.101.5.115) by luna.schedom-europe.net with SMTP; 21 May 2011 16:13:06 +0200 Received: from [2001:6f8:310:300:224:8cff:fe0b:7d8e] (helo=borg.bxl.tuxicoman.be) by ibiza.bxl.tuxicoman.be with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1QNnrW-0002gv-0V for linux-media@vger.kernel.org; Sat, 21 May 2011 17:13:06 +0200 Date: Sat, 21 May 2011 16:12:12 +0200 From: Guy Martin To: Linux Media Mailing List Subject: [PATCH] Disable dynamic current limit for ttpci budget cards Message-ID: <20110521161212.334204a1@borg.bxl.tuxicoman.be> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Disable dynamic current limit for ttpci budget cards. According to the ISL6423 datasheet, if dynamic current limiting is turned on, the static limit is ignored and the current drawn can be as high as 990mW. This is not what we want as it might overload the PCI bus. Disabling dynamic limit also avoid issues with rotors and DiSEqC switches which might require a higher current for a short period when powered on. Signed-off-by: Guy Martin --- drivers/media/dvb/ttpci/budget.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/media/dvb/ttpci/budget.c b/drivers/media/dvb/ttpci/budget.c index d238fb9..91340ab 100644 --- a/drivers/media/dvb/ttpci/budget.c +++ b/drivers/media/dvb/ttpci/budget.c @@ -462,7 +462,7 @@ static struct stv6110x_config tt1600_stv6110x_config = { static struct isl6423_config tt1600_isl6423_config = { .current_max = SEC_CURRENT_515m, - .curlim = SEC_CURRENT_LIM_ON, + .curlim = SEC_CURRENT_LIM_OFF, .mod_extern = 1, .addr = 0x08, };