Fix HTC Headphones

This is needed for headphones to work correctly on HTC devices.  Comes directly from CM.

Change-Id: I2718a1d05d7355fffea8c8dd3b82f345393bdf6b