lkml.org 
[lkml]   [2013]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] Allow rc device to open from lirc
Date
From: Srinivas Kandagatla <srinivas.kandagatla@st.com>

Thankyou for providing comments on v1 patch.

This patchset adds new members to rc_device structure to open rc device from
code other than rc-main. In the current code rc-device is only opened via input
driver. In cases where rc device is using lirc protocol, it will never be opened
as there is no input driver associated with lirc.

Thes patch set add fix to allow use cases like this to open rc device directly.

Changes since v1:
- used rcdev->lock around increments and decrements of users pointed by
Sean Young.
- Common up code in rc_open/rc_close.


Thanks,
srini

Srinivas Kandagatla (2):
media: rc: Add rc_open/close and use count to rc_dev.
media: lirc: Allow lirc dev to talk to rc device

drivers/media/rc/ir-lirc-codec.c | 1 +
drivers/media/rc/lirc_dev.c | 10 ++++++++
drivers/media/rc/rc-main.c | 46 ++++++++++++++++++++++++++++++++++---
include/media/lirc_dev.h | 1 +
include/media/rc-core.h | 4 +++
5 files changed, 58 insertions(+), 4 deletions(-)

--
1.7.6.5



\
 
 \ /
  Last update: 2013-07-22 11:41    [W:0.038 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site