stm32_i2s.c (1ed7d32763857fbdc8e406352404538e41050d22) | stm32_i2s.c (635eac1e54d82c59f621a0f38a9bffae50f150c7) |
---|---|
1/* 2 * STM32 ALSA SoC Digital Audio Interface (I2S) driver. 3 * 4 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved 5 * Author(s): Olivier Moysan <olivier.moysan@st.com> for STMicroelectronics. 6 * 7 * License terms: GPL V2.0. 8 * --- 826 unchanged lines hidden (view full) --- 835 ret = devm_request_irq(&pdev->dev, irq, stm32_i2s_isr, IRQF_ONESHOT, 836 dev_name(&pdev->dev), i2s); 837 if (ret) { 838 dev_err(&pdev->dev, "irq request returned %d\n", ret); 839 return ret; 840 } 841 842 /* Reset */ | 1/* 2 * STM32 ALSA SoC Digital Audio Interface (I2S) driver. 3 * 4 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved 5 * Author(s): Olivier Moysan <olivier.moysan@st.com> for STMicroelectronics. 6 * 7 * License terms: GPL V2.0. 8 * --- 826 unchanged lines hidden (view full) --- 835 ret = devm_request_irq(&pdev->dev, irq, stm32_i2s_isr, IRQF_ONESHOT, 836 dev_name(&pdev->dev), i2s); 837 if (ret) { 838 dev_err(&pdev->dev, "irq request returned %d\n", ret); 839 return ret; 840 } 841 842 /* Reset */ |
843 rst = devm_reset_control_get(&pdev->dev, NULL); | 843 rst = devm_reset_control_get_exclusive(&pdev->dev, NULL); |
844 if (!IS_ERR(rst)) { 845 reset_control_assert(rst); 846 udelay(2); 847 reset_control_deassert(rst); 848 } 849 850 return 0; 851} --- 95 unchanged lines hidden --- | 844 if (!IS_ERR(rst)) { 845 reset_control_assert(rst); 846 udelay(2); 847 reset_control_deassert(rst); 848 } 849 850 return 0; 851} --- 95 unchanged lines hidden --- |