How to turn off raise to speak for Siri

Siri can accidentally be activated in your pocket with raise to speak enabled, here's how to turn it off.