Re: [RFC PATCH 19/22] thunderbolt: Add support for Time Management Unit

From: Mika Westerberg
Date: Thu Oct 03 2019 - 04:01:55 EST


On Wed, Oct 02, 2019 at 04:52:06PM +0000, Mani, Rajmohan wrote:
> > + /* Enable TMU if it is off */
> > + if (!tb_switch_tmu_is_enabled(tb->root_switch))
>
> To be consistent with the implementation of tb_switch_tmu_disable(), should we
> move the above check inside tb_switch_tmu_enable()?

Yes, I think it makes sense.