Winbond W83792D driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jean

> This can't work! By definition if i2c_get_clientdata(client)==NULL,
then
> 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.
See
> 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
failed.
> >
> > The 792 modules does not work, does it have something to do with
your
> > 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-2.6.11.6
I will modify my codes with the method in asb100.c later. After the
modification
I will send you for your confirmation again.


Thanks a lot
Best Regards

Chunhao

===========================================================================================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??.



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux