Commit Graph

12 Commits

Author SHA1 Message Date
Clayton Craft c33c567ef6 nokia-gpio: do not create links to gpios in /dev/cmt
The nokia-gpio plugin should not try to create symlinks to relevant gpio
pins under /dev/cmt, since the location it is looking is no longer
correct on newer kernels and it might change again in the future. This
patch removes code from nokia-gpio that tries to create a symlink.

Users will now need to symlink the modem gpios to /dev/cmt themselves.
On the 4.13 kernel, this can be done by, for example, adding a udev rule
to:
 # ln -sf /sys/bus/hsi/devices/n900-modem /dev/cmt
2017-10-05 11:32:59 -05:00
Kuba Pawlak dee50a7565 plugins/nokia-gpio: fix glibc 2.23.9+ issues
readdir_r’ is deprecated [-Werror=deprecated-declarations]
2016-04-18 09:58:21 -05:00
Bertrand Aygon 74d3550788 nokia-gpio: Fix memory leak
All dir opened with opendir must be closed with closedir
2011-05-11 13:29:33 -05:00
Bertrand Aygon 62370c5491 nokia-gpio: Fix minor style issue 2011-05-11 13:29:33 -05:00
Aki Niemi 7ffaea7fbd plugins: Adapt isiusb and gpio plugins to new API 2011-02-07 09:51:34 +02:00
Aki Niemi 64e712f3a6 n900: Adapt and refactor n900 plugin 2010-12-22 17:13:49 +02:00
Lucas De Marchi 67f78f680d plugins: explicitly compare pointers to NULL
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>
2010-11-29 12:55:49 -06:00
Aki Niemi e8d88d48da n900: Fix link target status 2010-10-01 13:55:02 +03:00
Marcel Holtmann be99e80a24 isi: Remove not needed includes for oFono headers 2010-10-01 06:54:27 +02:00
Marcel Holtmann b246df78f1 isi: Fix up the copyright headers of modem plugins
It is important that the copyright headers are consistent throughout
the source code. While the copyright might be owned by different
people of companies, the header itself with its license information
should be identical.
2010-10-01 06:46:32 +02:00
Aki Niemi a7879d4e0c gisi: Remove route adding API 2010-09-30 11:25:48 +03:00
Pekka Pessi 82894cf58f n900: modem driver plugin for Nokia N900
This patch adds a modem driver plugin for the Nokia N900 internal
modem. It controls the modem using the appropriate GPIO lines and thus
works without the Maemo userspace.

This plugin can run natively on the N900 with either Maemo or Meego
kernels. However, it conflicts with the Maemo userspace, for which
isigen should be used instead.
2010-09-30 11:25:47 +03:00