• Len Sorensen's avatar
    Subject: jsm driver fix for linuxpps support · e97cb3e2
    Len Sorensen authored
    The jsm driver doesn't currently use the uart_handle_*_change helper
    functions, which are the obvious place for things like linuxpps to tie
    into (which it now does of course), and as a result the jsm driver can
    not be used with linuxpps and anything else that ties into the
    serial_core helper functions.  This patch adds calls to these helper
    functions whenever the value they manage changes.  That actual storage
    of the state is not modified since the jsm driver caches the current
    settings (The 8250 driver reads them everytime a user asks for the
    state), and only updates them whenever they change.
    Signed-off-by: default avatarLen Sorensen <lsorense@csclub.uwaterloo.ca>
    Cc: Scott H Kilau <Scott_Kilau@digi.com>
    Cc: Wendy Xiong <wendyx@us.ibm.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    e97cb3e2
jsm_neo.c 36.6 KB