We have cross compiled kernel (v2.6.37) with USB0 in HOST mode by default.
We are facing USB0 problem due to EMI. USB0 is used as host and due to EMI USB0 Mode changed into peripheral.
In our board we connect USB0_ID pin to ground for host mode.
We check following options in hardware for EMI suppression
1. Mount different type of capacitors like 100nf, 10nf, 100pf on USB power.
2. Toroidal choke and caps circuit in input power to board.
3. we also try to use power supply with EMI filter.
How we can solve these problem by software (kernel) changes by preventing them to change mode from host to peripheral?