Having the exact same problem on my p10 lite from huawei. Using a pair of skullcandy-s trrs.
Suddenly stopped working in a morning.
NOTICE: Every other headphones work( trs/trrs), and the problematic pair of headphones work on any other device. This must be a software issue idk.
hope this gets...