lkml.org 
[lkml]   [2016]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 2/9] tty: remove tty_struct dependency in tty flag macros
On Fri, Sep 9, 2016 at 5:37 PM, Rob Herring <robh@kernel.org> wrote:
> In preparation to support tty drivers having only a tty_port and
> possibly not a tty_struct, convert all the termios flag macros to take a
> termios ptr instead of the tty_struct ptr. After this change drivers can
> be converted to support a termios struct other than tty->termios.

[...]

> diff --git a/drivers/dma/at_xdmac.c b/drivers/dma/at_xdmac.c
> index 832cbd647145..e5d7e4db6bdc 100644
> --- a/drivers/dma/at_xdmac.c
> +++ b/drivers/dma/at_xdmac.c
> @@ -560,7 +560,7 @@ static int at_xdmac_compute_chan_conf(struct dma_chan *chan,
> dev_err(chan2dev(chan), "invalid src maxburst value\n");
> return -EINVAL;
> }
> - atchan->cfg |= AT_XDMAC_CC_CSIZE(csize);
> + atchan->cfg |= AT_XDMAC_CC_CSIZE(&csize->termios);
> dwidth = ffs(atchan->sconfig.src_addr_width) - 1;
> if (dwidth < 0) {
> dev_err(chan2dev(chan), "invalid src addr width value\n");
> @@ -583,7 +583,7 @@ static int at_xdmac_compute_chan_conf(struct dma_chan *chan,
> dev_err(chan2dev(chan), "invalid src maxburst value\n");
> return -EINVAL;
> }
> - atchan->cfg |= AT_XDMAC_CC_CSIZE(csize);
> + atchan->cfg |= AT_XDMAC_CC_CSIZE(&csize->termios);
> dwidth = ffs(atchan->sconfig.dst_addr_width) - 1;
> if (dwidth < 0) {
> dev_err(chan2dev(chan), "invalid dst addr width value\n");

This file needs to be dropped. There were a few false matches and I
missed this one.

Rob

\
 
 \ /
  Last update: 2016-09-17 09:59    [W:0.496 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site