On 6/17/2019 7:04 PM, Andrey Smirnov wrote: > Exactly the same code to figure out DMA mask is repeated twice in the > driver code. To avoid repetition, move that logic into a standalone > subroutine in intern.h. While at it re-shuffle the code to make it > more readable with early returns. > > Signed-off-by: Andrey Smirnov <[email protected]> > Cc: Chris Spencer <[email protected]> > Cc: Cory Tusar <[email protected]> > Cc: Chris Healy <[email protected]> > Cc: Lucas Stach <[email protected]> > Cc: Horia Geantă <[email protected]> > Cc: Aymen Sghaier <[email protected]> > Cc: Leonard Crestez <[email protected]> > Cc: [email protected] > Cc: [email protected] Reviewed-by: Horia Geantă <[email protected]>
Being the 1st patch in the series and not i.MX8-specific, I'd say it should be merged separately. Thanks, Horia
