aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/kernel/ssh:/git@git.zx2c4.com/git:
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2023-08-31 14:10:46 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2023-09-15 12:59:02 +0300
commite19f714ea63f861d95d3d92d45d5fd5ca2e05c8c (patch)
tree3169d72bddbcda8c59405eb25fe5343969cef09b /rust/kernel/ssh:/git@git.zx2c4.com/git:
parentthunderbolt: Check that lane 1 is in CL0 before enabling lane bonding (diff)
thunderbolt: Correct TMU mode initialization from hardware
David reported that cppcheck found following possible copy & paste error from tmu_mode_init(): tmu.c:385:50: style: Expression is always false because 'else if' condition matches previous condition at line 383. [multiCondition] And indeed this is a bug. Fix it to use correct index (TB_SWITCH_TMU_MODE_HIFI_UNI). Reported-by: David Binderman <dcb314@hotmail.com> Fixes: d49b4f043d63 ("thunderbolt: Add support for enhanced uni-directional TMU mode") Cc: stable@vger.kernel.org Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions