aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-03-05 07:57:21 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-03-18 07:02:53 -0300
commitf19fa086f77db5607405143dfac4509c73ce2f64 (patch)
tree76a9c44f3f1db27760bdc3730f0fdfdde388f920 /include
parent80250140687552c9d18b9c1398537fb193d49ffc (diff)
libmediactl: Don't try to parse empty major,minor
The Kernel support for the legacy MEDIA_IOC_ENUM_ENTITIES will only fill entity major,minor for a few entities. So, there are several cases where both major and minor are zero. While it won't cause any known harm, let's avoid parsing major/minor, when those fields are not filled by the Kernel. While here, remove the useless check for MEDIA_ENT_T_DEVNODE_ALSA. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions

Privacy Policy