Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83ce95ef authored by Heikki Krogerus's avatar Heikki Krogerus Committed by Greg Kroah-Hartman
Browse files

serial: 8250_dw: cleanup dw8250_idma_filter

parent 1edb3cf2
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -294,12 +294,7 @@ static void dw8250_setup_port(struct uart_8250_port *up)

static bool dw8250_idma_filter(struct dma_chan *chan, void *param)
{
	struct device *dev = param;

	if (dev != chan->device->dev->parent)
		return false;

	return true;
	return param == chan->device->dev->parent;
}

static void dw8250_quirks(struct uart_port *p, struct dw8250_data *data)