Midas had the ears of an ass. The tale says Apollo and Pan had a contest, and chose Midas to decide which was the better musician. Midas gave sentence in favour of Pan; and Apollo, in disgust, changed his ears into those of an ass.
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894
More on Ass-eared from Fact Monster: