Skip to content
Commit 196d9184 authored by Andreas Kemnade's avatar Andreas Kemnade Committed by Johan Hovold
Browse files

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: default avatarAndreas Kemnade <andreas@kemnade.info>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 9f1623fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment