spi-pxa2xx.c (067e2601d3c076abbf45db91261f9065eaa879b2) | spi-pxa2xx.c (02bc933ebb59208f42c2e6305b2c17fd306f695d) |
---|---|
1/* 2 * Copyright (C) 2005 Stephen Street / StreetFire Sound Labs 3 * Copyright (C) 2013, Intel Corporation 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 629 unchanged lines hidden (view full) --- 638 return IRQ_NONE; 639 640 sccr1_reg = pxa2xx_spi_read(drv_data, SSCR1); 641 642 /* Ignore possible writes if we don't need to write */ 643 if (!(sccr1_reg & SSCR1_TIE)) 644 mask &= ~SSSR_TFS; 645 | 1/* 2 * Copyright (C) 2005 Stephen Street / StreetFire Sound Labs 3 * Copyright (C) 2013, Intel Corporation 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 629 unchanged lines hidden (view full) --- 638 return IRQ_NONE; 639 640 sccr1_reg = pxa2xx_spi_read(drv_data, SSCR1); 641 642 /* Ignore possible writes if we don't need to write */ 643 if (!(sccr1_reg & SSCR1_TIE)) 644 mask &= ~SSSR_TFS; 645 |
646 /* Ignore RX timeout interrupt if it is disabled */ 647 if (!(sccr1_reg & SSCR1_TINTE)) 648 mask &= ~SSSR_TINT; 649 |
|
646 if (!(status & mask)) 647 return IRQ_NONE; 648 649 if (!drv_data->cur_msg) { 650 651 pxa2xx_spi_write(drv_data, SSCR0, 652 pxa2xx_spi_read(drv_data, SSCR0) 653 & ~SSCR0_SSE); --- 978 unchanged lines hidden --- | 650 if (!(status & mask)) 651 return IRQ_NONE; 652 653 if (!drv_data->cur_msg) { 654 655 pxa2xx_spi_write(drv_data, SSCR0, 656 pxa2xx_spi_read(drv_data, SSCR0) 657 & ~SSCR0_SSE); --- 978 unchanged lines hidden --- |