Fix headphone switching, thanks to roobarb!

File from http://birdslikewires.co.uk/download/joggler/kernel/3.10/joggler-stac9202.patch
Sync with upstream