platform_device.dev.release not getting called under X Windows

kaustav.majumdar at wipro.com kaustav.majumdar at wipro.com
Fri Jun 9 01:02:18 EDT 2006



Hi all,

We are developing a device driver for a PCMCIA based USB Host
Controller.
We are facing an issue in the operation of the driver under X Windows.

In the PCMCIA client driver, we register a platform device.
Through this platform device, we are passing the resources to the Host
Controller Driver.
The HCD is using these resources for driving the Host Controller.

The issue arises for the following situation under X Windows.
1. Insert a USB mass storage device
2. Mount the device.
3. While transfer is in progress, remove the PC card.

In this situation, we have noted that the platform_device.dev.release
function is not getting called.
If we do not mount the device, then the release function is getting
called.
Can anyone please tell why this may be happening?

When we operate from console, we are not facing the issue.
In that case the release function is getting called properly.
Then does the issue have anything to do with X Windows?

Looking forward to your suggestions

Thank you,
With Regards,
Kaustav Majumdar


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com



More information about the linux-pcmcia mailing list