login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
December
»
16
RE: [PATCH] mfd: tps6586x: Remove device ID check
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [author]
[view in full thread]
From: Stephen Warren
Subject:
RE: [PATCH] mfd: tps6586x: Remove device ID check
Date: Thursday, December 16, 2010 - 1:35 pm
> From: Stephen Warren [mailto:swarren@nvidia.com]
quoted text
> Sent: Thursday, December 09, 2010 10:30 AM > > ... and convert it to a dev_info print at probe time.
Samuel, Sorry to ping you, but does this updated patch look OK and address your concerns? Thanks.
quoted text
> There are many variants of this chip with different values of VERSIONCRC. > The set of values is large, and not useful to enumerate. All are SW > compatible. The difference lies in default settings of the various power > rails, and other similar differences. The driver, or clients of the > driver, shouldn't be affected by this, since all rails should be > programmed into the desired state in all cases for correct operation. > > Derived-from-code-by: Andrew Chew <achew@nvidia.com> > Signed-off-by: Stephen Warren <swarren@nvidia.com> > --- > drivers/mfd/tps6586x.c | 8 +------- > 1 files changed, 1 insertions(+), 7 deletions(-) > > diff --git a/drivers/mfd/tps6586x.c b/drivers/mfd/tps6586x.c > index b4931ab..3575739 100644 > --- a/drivers/mfd/tps6586x.c > +++ b/drivers/mfd/tps6586x.c > @@ -46,8 +46,6 @@ > > /* device id */ > #define TPS6586X_VERSIONCRC 0xcd > -#define TPS658621A_VERSIONCRC 0x15 > -#define TPS658621C_VERSIONCRC 0x2c > > struct tps6586x_irq_data { > u8 mask_reg; > @@ -498,11 +496,7 @@ static int __devinit tps6586x_i2c_probe(struct i2c_client *client, > return -EIO; > } > > - if ((ret != TPS658621A_VERSIONCRC) && > - (ret != TPS658621C_VERSIONCRC)) { > - dev_err(&client->dev, "Unsupported chip ID: %x\n", ret); > - return -ENODEV; > - } > + dev_info(&client->dev, "VERSIONCRC is %02x\n", ret); > > tps6586x = kzalloc(sizeof(struct tps6586x), GFP_KERNEL); > if (tps6586x == NULL) > -- > 1.7.0.4
-- nvpublic --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [author]
Messages in current thread:
[PATCH] mfd: tps6586x: Remove device ID check
, Stephen Warren
, (Thu Dec 2, 11:33 am)
RE: [PATCH] mfd: tps6586x: Remove device ID check
, Andrew Chew
, (Thu Dec 2, 2:02 pm)
Re: [PATCH] mfd: tps6586x: Remove device ID check
, Samuel Ortiz
, (Thu Dec 9, 6:58 am)
[PATCH] mfd: tps6586x: Remove device ID check
, Stephen Warren
, (Thu Dec 9, 10:30 am)
RE: [PATCH] mfd: tps6586x: Remove device ID check
, Stephen Warren
, (Thu Dec 16, 1:35 pm)
Re: [PATCH] mfd: tps6586x: Remove device ID check
, Samuel Ortiz
, (Sun Dec 19, 3:43 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Ingo Molnar
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Andi Kleen
Re: - romsignature-checksum-cleanup-2.patch removed from -mm tree
Stefano Stabellini
Re: [PATCH 09/22] xen: Find an unbound irq number in reverse order (high to low).
git
:
Junio C Hamano
Re: Teach "git checkout" to use git-show-ref
Christian Jaeger
Re: Problem with Git.pm bidi_pipe methods
Linus Torvalds
[PATCH 1/7] Make unpack_trees_options bit flags actual bitfields
Jon Smirl
stgit: managing signed-off-by lines
Junio C Hamano
GIT 1.4.3-rc2
git-commits-head
:
Linux Kernel Mailing List
MIPS: Bonito64: Make Loongson independent from Bonito64 code.
Linux Kernel Mailing List
iwlwifi: initialize spinlock before use
Linux Kernel Mailing List
i2c-i801: Add Intel Cougar Point device IDs
Linux Kernel Mailing List
drm/i915: Add information on pinning and fencing to the i915 list debug.
Linux Kernel Mailing List
cirrusfb: GD5434 (aka SD64) support fixed
linux-netdev
:
Gerrit Renker
v2 [PATCH 1/4] dccp: Limit feature negotiation to connection setup phase
Richard Cochran
Re: [PATCH v3 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.
Inaky Perez-Gonzalez
[PATCH 40/40] wimax/i2400m: add CREDITS and MAINTAINERS entries
Sathya Perla
[PATCH net-next-2.6] be2net: add multiple RX queue support
Changli Gao
Re: [PATCH 3/3] ifb: move tq from ifb_private
freebsd-current
:
Boris Samorodov
Re: twa + dump = sbwait
韓家標 Bill Hacker
Re: ZFS honesty
Bjoern A. Zeeb
Re: Can not boot 7.0-BETA3 with IPSEC
rmgls
man usb2_core(4)
Sam Leffler
Re: Lots of "ath0: bad series0 hwrate 0x1b" in 8.0-BETA2
Colocation donated by:
Syndicate