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

2019-10-03 Thread Mika Westerberg
On Wed, Oct 02, 2019 at 04:52:06PM +, 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()? Ye

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

2019-10-02 Thread Mani, Rajmohan
Hi Mika, > -Original Message- > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > Sent: Tuesday, October 01, 2019 4:38 AM > To: linux-...@vger.kernel.org > Cc: Andreas Noever ; Jamet, Michael > ; Mika Westerberg > ; Yehezkel Bernat > ; Mani, Rajmohan ; > Nicholas Johnson ; L