wm8994-irq.c (e23c34bb41da65f354fb7eee04300c56ee48f60c) wm8994-irq.c (7821d9b24bf73eee7a4e3e3744f05c6eee88db48)
1/*
2 * wm8994-irq.c -- Interrupt controller support for Wolfson WM8994
3 *
4 * Copyright 2010 Wolfson Microelectronics PLC.
5 *
6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7 *
8 * This program is free software; you can redistribute it and/or modify it

--- 248 unchanged lines hidden (view full) ---

257 return ret;
258 }
259
260 /* Enable top level interrupt if it was masked */
261 wm8994_reg_write(wm8994, WM8994_INTERRUPT_CONTROL, 0);
262
263 return 0;
264}
1/*
2 * wm8994-irq.c -- Interrupt controller support for Wolfson WM8994
3 *
4 * Copyright 2010 Wolfson Microelectronics PLC.
5 *
6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7 *
8 * This program is free software; you can redistribute it and/or modify it

--- 248 unchanged lines hidden (view full) ---

257 return ret;
258 }
259
260 /* Enable top level interrupt if it was masked */
261 wm8994_reg_write(wm8994, WM8994_INTERRUPT_CONTROL, 0);
262
263 return 0;
264}
265EXPORT_SYMBOL(wm8994_irq_init);
265
266void wm8994_irq_exit(struct wm8994 *wm8994)
267{
268 regmap_del_irq_chip(wm8994->irq, wm8994->irq_data);
269}
266
267void wm8994_irq_exit(struct wm8994 *wm8994)
268{
269 regmap_del_irq_chip(wm8994->irq, wm8994->irq_data);
270}
271EXPORT_SYMBOL(wm8994_irq_exit);