summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>2009-08-06 13:07:32 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-08-07 11:48:02 +0100
commitb7b8f9bf0cd73b90561e8123fd5ec28f4539c419 (patch)
treef451730e88eabbf69c56fa2f2e422e0c45aab8b0 /sound/soc/omap
parent06cddefc1f25b847dafe392f3d5781482b3395b5 (diff)
downloadop-kernel-dev-b7b8f9bf0cd73b90561e8123fd5ec28f4539c419.zip
op-kernel-dev-b7b8f9bf0cd73b90561e8123fd5ec28f4539c419.tar.gz
TTY/ASoC: Rename N_AMSDELTA line discipline to N_V253
The patch changes the line discipline name registered in include/linux/tty.h and updates the ams-delta machine driver to use it. Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/omap')
-rw-r--r--sound/soc/omap/ams-delta.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/omap/ams-delta.c b/sound/soc/omap/ams-delta.c
index 4f35b1f..5a5166a 100644
--- a/sound/soc/omap/ams-delta.c
+++ b/sound/soc/omap/ams-delta.c
@@ -500,7 +500,7 @@ static int ams_delta_cx20442_init(struct snd_soc_codec *codec)
}
/* Register optional line discipline for over the modem control */
- ret = tty_register_ldisc(N_AMSDELTA, &cx81801_ops);
+ ret = tty_register_ldisc(N_V253, &cx81801_ops);
if (ret) {
dev_warn(card->dev,
"Failed to register line discipline, "
@@ -625,9 +625,9 @@ static void __exit ams_delta_module_exit(void)
}
}
- if (tty_unregister_ldisc(N_AMSDELTA) != 0)
+ if (tty_unregister_ldisc(N_V253) != 0)
dev_warn(&ams_delta_audio_platform_device->dev,
- "failed to unregister AMSDELTA line discipline\n");
+ "failed to unregister V253 line discipline\n");
snd_soc_jack_free_gpios(&ams_delta_hook_switch,
ARRAY_SIZE(ams_delta_hook_switch_gpios),
OpenPOWER on IntegriCloud