Staging: ti-st: make use of linux err codes
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / staging / ti-st / TODO
1 TODO:
2
3 1. A per-device/tty port context required to support multiple devices
4 on same platform.
5 Plan: Each BT, FM and GPS device would be a platform-device with its platform-data
6 mentioning which of the ST device it wants to attach itself onto.
7
8 There by each of the ST device which is also a platform device upon receiving
9 a st_register() would know whether the registration from BT/FM or GPS was intended for it.
10
11 2. Improve upon the way requirement of line discipline is communicated to
12 user-space, The current user-space application which open/installs ldisc
13 as and when required can be found at,
14 http://git.omapzoom.org/?pÿatform/hardware/ti/omap3.git;aÿob;fÿ_st/uim/uim.c;h\1ea16c2c2b5085eb54a1bbc7096d779d7594eb11;hbìlair
15
16 3. Re-view/Re-work on the locking.
17
18 4. Re-structure to make the ldisc driver more generic for chipsets which mux
19 multiple connectivity (BT, FM, GPS) upon 1 TTY port.
20
21 5. Remove global references by providing a context which can be moved around the driver like the other ldisc drivers. (ldiscs tend to use tty's disc_data and platform devices use the device's driver data)
22
23 6. Step up and maintain this driver to ensure that it continues
24 to work. Having the hardware for this is pretty much a
25 requirement. If this does not happen, the will be removed in
26 the 2.6.35 kernel release.
27
28 Please send patches to Greg Kroah-Hartman <greg@kroah.com>.