Skip to contentSkip to conversation

Patch to fix attaching HWMON devices on I2C-PXA adapter

lm-sensors Matej Kenda 2 participants 3 messages Mar 12, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

During my attempts to use HWMON drivers attached to the PXA I2C adapter (XScale PXA 255, ARM architecture) I have found a bug in the i2x-pxa driver that prevented using HWMON devices in that adapter at all.

I have fixed the problem and posted the patch to ARM Linux patch database.

http://www.arm.linux.org.uk/developer/patches/viewpatch.php?idB46/1

Regards,

Matej

Signature · 2 lines
Matej Kenda, Senior Software Engineer
HERMES SoftLab d.d. (www.hermes-softlab.com), Slovenia
#1 lore raw

[lm-sensors] Patch to fix attaching HWMON devices on I2C-PXA

Hi Matej,

Quoted 8 lines · Matej Kenda

During my attempts to use HWMON drivers attached to the PXA I2C adapter (XScale PXA 255, ARM architecture) I have found a bug in the i2x-pxa driver that prevented using HWMON devices in that adapter at all.

I have fixed the problem and posted the patch to ARM Linux patch database.

http://www.arm.linux.org.uk/developer/patches/viewpatch.php?idB46/1

Thanks for the heads up. Your patch looks OK. Note though that I cannot push this patch to mainline myself, as it touches arm-specific structures and as such might need to be synchronized with other arm-specific patches. So your patch will have to go through the arm tree.

Signature · 1 line
Jean Delvare
#2 lore raw

[lm-sensors] Patch to fix attaching HWMON devices on I2C-PXA

In reply to Matej Kenda

Hi Jean,

2007/3/12, Jean Delvare <khali at linux-fr.org>:

Quoted 10 lines
Quoted 4 lines

I have fixed the problem and posted the patch to ARM Linux patch database.

http://www.arm.linux.org.uk/developer/patches/viewpatch.php?idB46/1

Thanks for the heads up. Your patch looks OK. Note though that I cannot push this patch to mainline myself, as it touches arm-specific structures and as such might need to be synchronized with other arm-specific patches. So your patch will have to go through the arm tree.

Thanks for feedback. I have sent the e-mail to lm-sensors mailing list to be aware of the bug and patch that fixes it.

I have exchanged a few e-mails with Russell King on ARM Linux mailing list to make the fix properly. I have also modified the patch to be ready for 2.6.21.

I guess it is up to Russel's patch processing schedule to get it included.

Regards,

Matej

Signature · 2 lines
Matej Kenda, Senior Software Engineer
HERMES SoftLab d.d. (www.hermes-softlab.com), Slovenia