Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157627
b: refs/heads/master
c: b7b8f9b
h: refs/heads/master
i:
  157625: 1c9ca27
  157623: 152f161
v: v3
  • Loading branch information
Janusz Krzysztofik authored and Mark Brown committed Aug 7, 2009
1 parent 60d035a commit 101c9e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 06cddefc1f25b847dafe392f3d5781482b3395b5
refs/heads/master: b7b8f9bf0cd73b90561e8123fd5ec28f4539c419
2 changes: 1 addition & 1 deletion trunk/include/linux/tty.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#define N_SLCAN 17 /* Serial / USB serial CAN Adaptors */
#define N_PPS 18 /* Pulse per Second */

#define N_AMSDELTA 19 /* codec control over modem, board specific */
#define N_V253 19 /* Codec control over voice modem */

/*
* This character is the same as _POSIX_VDISABLE: it cannot be used as
Expand Down
6 changes: 3 additions & 3 deletions trunk/sound/soc/omap/ams-delta.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, "
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 101c9e6

Please sign in to comment.