Microscopic parasites, fungus, or allergies could be a problem, also. I'd have my vet take a tissue sample before I did anything. I'd do it quick, though. Dogs with ear problems can really get into self-mutilation if the ears itch or are uncomfortable. Even after the problem is cleared up, the mutilation habits can be hard to break.