staging: speakup: Add unicode support to the speakup_dummy driver
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 10 Mar 2018 10:56:27 +0000 (11:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Mar 2018 11:57:45 +0000 (12:57 +0100)
commit65fa72d34360c571b058afeb0e64367d3eaf064b
tree6630e1337bb45da67d5398f52440c6cf84828fab
parentb8461ff7747416dca950aad43415f214cfcdbfa3
staging: speakup: Add unicode support to the speakup_dummy driver

This extends spk_io_ops with a synth_out_unicode which takes a u16 character
instead of just a byte, and extends spk_ttyio to implement it to emit
utf-8. spk_do_catch_up_unicode can then be introduced to benefit from
synth_out_unicode, and speakup_dummy made to use spk_do_catch_up_unicode instead
of spk_do_catch_up.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/speakup_dummy.c
drivers/staging/speakup/spk_priv.h
drivers/staging/speakup/spk_ttyio.c
drivers/staging/speakup/spk_types.h
drivers/staging/speakup/synth.c