diff options
author | Daniel Mack <daniel@zonque.org> | 2020-05-21 11:11:52 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-22 11:06:15 +0200 |
commit | 2aa916e67db3e625cc0bfe577f67034a46f81c8a (patch) | |
tree | 35121cebc60dca6ad8ab0a9266be9cbce6eb5bdf /arch/sparc | |
parent | 2d12fc792cdd43da8502de4a425a98e520b1c302 (diff) |
sc16is7xx: Read the LSR register for basic device presence check
Currently, the driver probes just fine and binds all its resources even
if the physical device is not present.
As the device lacks an identification register, let's at least read the
LSR register to check whether a device at the configured address responds
to the request at all.
Signed-off-by: Daniel Mack <daniel@zonque.org>
Link: https://lore.kernel.org/r/20200521091152.404404-7-daniel@zonque.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions