[PATCH] When snd_soc_card_jack_new is not called or the call fails, calling this function causes a null pointer access