Winbond W83792D driver

Huang0 at Huang0 at
Mon Apr 11 10:14:16 CEST 2005

Hi Jean

> This can't work! By definition if i2c_get_clientdata(client)==NULL,
> data is NULL, so data->lm75 doesn't exit. Also, you would be detaching
> subclients more than once if it did work, and freeing memory more than
> once too.
> You are facing the problem I expected. With your current allocation
> model, only the main client can free the memory allocated for
> subclients. the problem is that you cannot be sure that the subclients
> will be unregistered first, so you can't do that.
> I really think you will have to move to a different allocation model.
> asb100 for a good example of how things should be done.
> > I meet a problem when load the 792 module after the modification to
> > 1*-5*: W83792d 0-002f: Subclient 1 registration at address 0x48
> >
> > The 792 modules does not work, does it have something to do with
> > item 6*?
> > Do you know how to solve this problem?
> This might have been caused by the deregistration problems. If a
> subclient wasn't properly unregistered, then it's marked as used until
> next reboot. I'd suggest that you change the implementation and try
> again. Hopefully the problem will be fixed.

I'm reading the asb100.c....from linux-
I will modify my codes with the method in asb100.c later. After the
I will send you for your confirmation again.

Thanks a lot
Best Regards


===========================================================================================The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original author of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such person, please kindly reply the sender indicating accordingly and delete all copies of it from your computer and network server immediately. We thank you for your cooperation. It is advisable that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email that does not relate to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.===========================================================================================If your computer is unable to decode Chinese font, please ignore the following message. They essentially repea!
 t the  English statement above.¥»«H¥ó¤º©Ò§tµØ¨¹¹q¤lªº°]²£©Ê¾÷±K©Ê¸ê°T, ¶È±ÂÅv­ìµo«H¤H«ü©w¤§¦¬«H¤H¨ú¾\¤§¥Î. °²¨Ï±z¨Ã«D³Q«ü©w¤§¦¬«H¤H©Î¦]¥ô¦ó­ì¦]¦b¥¼¸g±ÂÅvªº±¡§Î¤§¤U¦¬¨ì¥»«H¥ó, ½Ð±z§iª¾­ìµo«H¤H¨Ã¥ß§Y±N«H¥ó±q¹q¸£»Pºô¸ô¦øªA¾¹¤¤¤©¥H®ø°£. ¹ï©ó±zªº¦X§@, §Ú­Ì¥ý¦¹­PÁÂ. ¯S¦¹´£¿ô, ¥ô¦ó¥¼¸g±ÂÅv¾Õ¦Û¨Ï¥ÎµØ¨¹¹q¤lªº¾÷±K¸ê°Tªº¦æ¬°¬O³QÄY®æ¸T¤îªº. «H¥ó»PµØ¨¹¹q¤lÀç·~µLÃö¤§¤º®e,¤£±oµø¬°µØ¨¹¹q¤l¤§¥ß³õ©Î·N¨£.

More information about the lm-sensors mailing list