Burnley manager Sean Dyche has confirmed that Aaron Lennon has had an operation to repair cartilage in his knee.