summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_sch.c
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2011-03-01 15:38:48 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-02 17:18:12 (GMT)
commit89a8969afa300c202066c23cc5cc9e42eb81967c (patch)
tree5a84b63f75956eb1fed697c8fe02ed024047298b /drivers/ata/pata_sch.c
parenta6994eb0a706bf36bcb3b5f7e439c5b76c31cfe5 (diff)
downloadlinux-fsl-qoriq-89a8969afa300c202066c23cc5cc9e42eb81967c.tar.xz
[media] tda829x: fix regression in probe functions
In commit 567aba0b7997dad5fe3fb4aeb174ee9018df8c5b, the probe address for tda8290_probe and tda8295_probe was hard-coded to 0x4b, which is the default i2c address for those devices, but its possible for the device to be at an alternate address, 0x42, which is the case for the HVR-1950. If we probe the wrong address, probe fails and we have a non-working device. We have the actual address passed into the function by way of i2c_props, we just need to use it. Also fix up some copy/paste comment issues and streamline debug spew a touch. Verified to restore my HVR-1950 to full working order. Special thanks to Ken Bass for reporting the issue in the first place, and to both he and Gary Buhrmaster for aiding in debugging and analysis of the problem. Reported-by: Ken Bass <kbass@kenbass.com> Tested-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/ata/pata_sch.c')
0 files changed, 0 insertions, 0 deletions