I want to use the USB 2.0 multiplexer TI TS3USB221ARSER. But on the PCB the D+ and D- pins of one connection are crossed (see attached image).
Is it okay to change the D+ and D- pins on all sides of the multiplexer to fix this? The two alternatives are:
use a via on one signal trace to switch to the other side (I always read one should avoid vias in high speed connections?)
avoid this problem with long connections (see second attached image. Trace lengths/trace impedance not calculated in the image).
Which is the best solution?