Audit Independence question - Parent & Subsidiary

I am so confused about the independence rule for parent & subsidiary. Can someone please help me to clarify which impairs the independence? Can auditor audit parent company when the auditor have immaterial stock of subsidiary company ? Can auditor audit subsidiary company when the auditor has immaterial stocks of parent’s company?