|
@@ -37,8 +37,6 @@
|
|
|
#include "omap-mcbsp.h"
|
|
|
#include "omap-pcm.h"
|
|
|
|
|
|
-#define ZOOM2_HEADSET_MUX_GPIO (OMAP_MAX_GPIO_LINES + 15)
|
|
|
-
|
|
|
static int zoom2_hw_params(struct snd_pcm_substream *substream,
|
|
|
struct snd_pcm_hw_params *params)
|
|
|
{
|
|
@@ -187,9 +185,6 @@ static int __init zoom2_soc_init(void)
|
|
|
if (ret)
|
|
|
goto err1;
|
|
|
|
|
|
- BUG_ON(gpio_request(ZOOM2_HEADSET_MUX_GPIO, "hs_mux") < 0);
|
|
|
- gpio_direction_output(ZOOM2_HEADSET_MUX_GPIO, 0);
|
|
|
-
|
|
|
return 0;
|
|
|
|
|
|
err1:
|
|
@@ -202,8 +197,6 @@ module_init(zoom2_soc_init);
|
|
|
|
|
|
static void __exit zoom2_soc_exit(void)
|
|
|
{
|
|
|
- gpio_free(ZOOM2_HEADSET_MUX_GPIO);
|
|
|
-
|
|
|
platform_device_unregister(zoom2_snd_device);
|
|
|
}
|
|
|
module_exit(zoom2_soc_exit);
|