Skip to content

Commit c657243

Browse files
jhovoldgregkh
authored andcommitted
serial: qcom-geni: fix rx cancel dma status bit
Cancelling an rx command is signalled using bit 14 of the rx DMA status register and not bit 11. This bit is currently unused, but this error becomes apparent, for example, when tracing the status register when closing the port. Fixes: eddac5a ("soc: qcom: Add GENI based QUP Wrapper driver") Reviewed-by: Douglas Anderson <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent fa103d2 commit c657243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/soc/qcom/geni-se.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ struct geni_se {
258258
#define RX_DMA_PARITY_ERR BIT(5)
259259
#define RX_DMA_BREAK GENMASK(8, 7)
260260
#define RX_GENI_GP_IRQ GENMASK(10, 5)
261-
#define RX_GENI_CANCEL_IRQ BIT(11)
262261
#define RX_GENI_GP_IRQ_EXT GENMASK(13, 12)
262+
#define RX_GENI_CANCEL_IRQ BIT(14)
263263

264264
/* SE_HW_PARAM_0 fields */
265265
#define TX_FIFO_WIDTH_MSK GENMASK(29, 24)

0 commit comments

Comments
 (0)