aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDenis CIOCCA <denis.ciocca@st.com>2014-02-14 09:15:00 -0500
committerJonathan Cameron <jic23@kernel.org>2014-02-18 05:24:49 -0500
commita0657716416f834ef7710a9044614d50a36c3bdc (patch)
tree17a2d01576440f254dbe9d2beea8ad2d81bf971c /tools/perf/scripts/python
parent1463a166b4eafc654874528ba5e2f66dbdfb8048 (diff)
iio:gyro: bug on L3GD20H gyroscope support
The driver was not able to manage the sensor: during probe function and wai check, the driver stops and writes: "device name and WhoAmI mismatch." The correct value of L3GD20H wai is 0xd7 instead of 0xd4. Dropped support for the sensor. Signed-off-by: Denis Ciocca <denis.ciocca@st.com> Cc: stable@vger.kernel.org Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
="hl opt">)); hw.irq = pnp_irq(dev, 0); index = ide_register_hw(&hw, NULL, 1, &hwif); if (index != -1) { printk(KERN_INFO "ide%d: generic PnP IDE interface\n", index); pnp_set_drvdata(dev,hwif); return 0; } return -1; } static void idepnp_remove(struct pnp_dev * dev) { ide_hwif_t *hwif = pnp_get_drvdata(dev); if (hwif) { ide_unregister(hwif->index); } else printk(KERN_ERR "idepnp: Unable to remove device, please report.\n"); } static struct pnp_driver idepnp_driver = { .name = "ide", .id_table = idepnp_devices, .probe = idepnp_probe, .remove = idepnp_remove, }; void __init pnpide_init(void) { pnp_register_driver(&idepnp_driver); } void __exit pnpide_exit(void) { pnp_unregister_driver(&idepnp_driver); }