17 Nov
2014
17 Nov
'14
9:22 a.m.
On 11/17/2014 08:27 AM, Bard Liao wrote:
This patch provide the jack function of rt5670. We use a irq pin to notice the jack event. rt5670_irq_detection will determine which status should be reported. We can get gpio information from gpio number or gpiod_dev. That's why we define both on platform data.
New code should only use the descriptor GPIO API. The old way of passing GPIO numbers as platform data is considered deprecated and will be removed once there are no drivers left using it.
- Lars