This patch series is a repost of the jack reporting API previously discussed on this list. Patch 1 is a cherry pick of the commit from the input subsystem (available from Linus' current tree) adding a switch type for reporting microphone insertion which could be skipped if Linus' current tree were merged in to ALSA.