[PATCH 6.12 342/512] USB: typec: fix const issue in typec_match()