summaryrefslogtreecommitdiff
path: root/video-source.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-05-27 00:01:08 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-06-01 09:48:21 +0300
commit6df2b6e22e0720173cec23669ecf3f99ee9f21eb (patch)
tree7a633a5f2116cece0ab5edc628ec3e8ca7a7f9fa /video-source.c
parent571e148aaec20c26c308d6611cdb1f34ec81ff1e (diff)
configfs: Restructure attribute read to support binary attributes
Modify the attribute_read() function to not add a terminating 0 to the buffer, and to return the number of bytes read, in order to support binary attributes. The attribute_read_uint() and attribute_read_str() functions are modified accordingly to use the new attribute_read() semantics. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'video-source.c')
0 files changed, 0 insertions, 0 deletions