ASoC: codec: Update codec driver to component driver
Some alsa API are removed in kernel-4.19 which would cause codec driver compile failure. Update codec driver to fix it. Change-Id: Ie358ec1863082166958059c179300b453d2a03ad Signed-off-by: Meng Wang <mengw@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
ee084a068e
commit
15c825d077
@@ -112,12 +112,14 @@ static struct irq_chip wcd_irq_chip = {
|
||||
};
|
||||
|
||||
static struct lock_class_key wcd_irq_lock_class;
|
||||
static struct lock_class_key wcd_irq_lock_requested_class;
|
||||
|
||||
static int wcd_irq_chip_map(struct irq_domain *irqd, unsigned int virq,
|
||||
irq_hw_number_t hw)
|
||||
{
|
||||
irq_set_chip_and_handler(virq, &wcd_irq_chip, handle_simple_irq);
|
||||
irq_set_lockdep_class(virq, &wcd_irq_lock_class);
|
||||
irq_set_lockdep_class(virq, &wcd_irq_lock_class,
|
||||
&wcd_irq_lock_requested_class);
|
||||
irq_set_nested_thread(virq, 1);
|
||||
irq_set_noprobe(virq);
|
||||
|
||||
|
Reference in New Issue
Block a user