aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2015-04-09 10:52:38 +0200
committerMark Brown <[email protected]>2015-04-09 12:23:14 +0100
commit6553bf06a369683408895b87e5172aa99a9266bd (patch)
tree39ddb89fa018f224eb46b67894f0ff13ae986ac5 /lib/test-string_helpers.c
parent2e55b90a5e234524f8195c657006ec4f71103dff (diff)
ASoC: Don't try to register debugfs entries if the parent does not exist
If the registration of a debugfs directory fails this is treated as a non-fatal error in ASoC and operation continues as normal. This means we need to be careful and check if the parent debugfs directory exists if we try to register a debugfs file or sub-directory. Otherwise we might end up passing NULL for the parent and the file or directory will be registered in the top-level debugfs directory. Signed-off-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions