Okash Khawaja
a5525dc0b8
staging: speakup: check and convert dev name or ser to dev_t
...
This patch adds functionality to validate and convert either a device
name or 'ser' memmber of synth into dev_t. Subsequent patch in this set
will call it to convert user-specified device into device number. For
device name, this patch does some basic sanity checks on the string
passed in. It currently supports ttyS*, ttyUSB* and, for selected
synths, lp*.
The patch also introduces a string member variable named 'dev_name' to
struct spk_synth. 'dev_name' represents the device name - ttyUSB0 etc -
which needs conversion to dev_t.
Signed-off-by: Okash Khawaja <okash.khawaja@gmail.com >
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-06-27 09:12:33 +02:00
..
2017-06-15 01:52:32 +02:00
2017-05-31 14:26:26 -04:00
2017-06-09 01:25:16 +02:00
2017-06-08 08:04:18 -06:00
2017-04-30 12:22:14 +02:00
2017-06-11 12:02:01 -07:00
2017-05-10 13:38:18 -07:00
2017-05-12 10:43:25 -07:00
2017-06-15 01:51:33 +02:00
2017-06-15 01:51:33 +02:00
2017-05-10 11:33:08 -07:00
2017-06-09 08:50:49 -07:00
2017-06-12 10:12:07 +09:00
2017-06-02 11:49:44 +05:30
2017-05-03 16:27:36 +02:00
2017-06-16 17:13:06 +09:00
2017-06-09 09:38:27 +02:00
2017-06-16 10:01:52 +10:00
2017-06-13 16:52:50 +02:00
2017-06-08 10:16:05 -04:00
2017-05-04 19:15:35 -07:00
2017-06-03 03:55:43 -07:00
2017-05-08 17:15:14 -07:00
2017-06-15 16:07:03 +02:00
2017-05-08 17:36:39 -04:00
2017-05-01 23:17:37 +02:00
2017-06-26 07:09:23 +02:00
2017-06-16 17:38:23 +09:00
2017-06-09 09:57:19 -07:00
2017-05-30 11:31:32 +02:00
2017-06-13 15:09:10 +09:00
2017-06-01 14:49:47 -04:00
2017-06-18 08:51:35 +09:00
2017-05-04 07:53:04 -06:00
2017-05-05 19:33:07 -07:00
2017-06-05 16:04:35 -07:00
2017-06-15 17:37:40 +09:00
2017-06-01 17:07:31 -07:00
2017-06-11 11:29:15 -07:00
2017-06-12 08:58:16 +02:00
2017-05-22 09:42:29 +02:00
2017-06-14 23:45:22 -04:00
2017-05-12 15:43:10 -07:00
2017-06-07 11:08:55 +02:00
2017-05-09 10:01:15 -07:00
2017-05-30 11:31:32 +02:00
2017-06-12 15:46:13 -05:00
2017-05-10 19:13:03 -07:00
2017-05-30 12:40:03 +01:00
2017-06-01 15:03:41 +05:30
2017-05-23 11:31:27 +02:00
2017-06-16 17:30:44 +09:00
2017-05-12 12:02:21 -07:00
2017-05-14 13:30:05 +02:00
2017-05-01 16:15:18 -07:00
2017-05-04 19:15:35 -07:00
2017-04-30 22:17:44 +09:00
2017-05-10 11:33:08 -07:00
2017-05-24 10:53:41 +02:00
2017-05-10 11:33:08 -07:00
2017-05-22 20:32:05 +02:00
2017-06-15 18:09:47 +09:00
2017-06-11 11:21:08 -07:00
2017-05-19 13:36:56 -07:00
2017-06-27 09:12:33 +02:00
2017-05-31 15:12:57 -07:00
2017-05-18 23:54:47 -07:00
2017-05-23 20:09:34 -07:00
2017-06-27 09:08:47 +02:00
2017-05-16 23:06:41 +02:00
2017-06-18 08:39:54 +09:00
2017-05-17 11:27:41 +02:00
2017-05-05 11:36:44 -07:00
2017-05-08 17:15:12 -07:00
2017-06-14 12:40:36 +02:00
2017-05-08 17:15:10 -07:00
2017-06-18 23:13:35 +03:00
2017-05-19 10:42:25 +02:00
2017-06-09 09:59:51 -07:00
2017-05-10 21:03:31 +02:00