commit | 196d91846099fb49b45fb14b0f47b9af3b721b94 | [log] [tgz] |
---|---|---|
author | Andreas Kemnade <andreas@kemnade.info> | Thu Jan 24 07:34:35 2019 +0100 |
committer | Johan Hovold <johan@kernel.org> | Fri Jan 25 11:35:06 2019 +0100 |
tree | 3f473500807d4b8657dd4d782e9033307c1bc092 | |
parent | 9f1623fdb399e5cf677f042e3bff3beec70376f6 [diff] |
gnss: sirf: write data to gnss only when the gnss device is open The api forbids writing data there otherwise. Prepare for the serdev_open()/close() being a part of sirf_set_active. Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Signed-off-by: Johan Hovold <johan@kernel.org>