Linux: Close spinlock device after gate is stopped
authorMisael Lopez Cruz <misael.lopez@ti.com>
Fri, 18 Dec 2015 21:50:51 +0000 (15:50 -0600)
committerAngela Stegmaier <angelabaker@ti.com>
Mon, 21 Dec 2015 22:05:04 +0000 (16:05 -0600)
commite0b95f9b90473ffedc6e8f6999a933b9f77246ce
treeede3b3132c22d0a3f426675724e3c4f511be5c2b
parenta9902341cc9072ccf744f73cf9c2e3c82d6d60f3
Linux: Close spinlock device after gate is stopped

The spinlock device is opened in the GateHWSpinlock_start()
function, but it's never closed.  The device is now being
closed in GateHWSpinlock_stop().

Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
linux/src/api/gates/GateHWSpinlock.c
linux/src/daemon/GateHWSpinlock.c