ear damage and diving

Diving after eardrum perforation and ear surgery

What if due to various diseases or injuries, surgeries are performed on the structures of the ear? How does the future of diving look like?