summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/max9877.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2017-01-10 09:44:54 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-01-30 11:42:31 -0200
commitf9f96fc10c09ca16e336854c08bc1563eed97985 (patch)
tree0a9b6bf8e70129ebe08fa58b793fdd8eb3a30430 /sound/soc/codecs/max9877.c
parent8015d6b83cadc8f9f94c7bc8430255090ddf43d4 (diff)
[media] cec: fix wrong last_la determination
Due to an incorrect condition the last_la used for the initial attempt at claiming a logical address could be wrong. The last_la wasn't converted to a mask when ANDing with type2mask, so that test was broken. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'sound/soc/codecs/max9877.c')
0 files changed, 0 insertions, 0 deletions
ved locking from `pl330_request_channel' and `pl330_release_channel' functions. Function `pl330_request_channel' is only called from `pl330_alloc_chan_resources', so the lock is already held. Function `pl330_release_channel' is called from `pl330_free_chan_resources', which already holds the lock, and from `pl330_del'. Function `pl330_del' is called in an error path of `pl330_probe' and at the end of `pl330_remove', but I assume that there cannot be concurrent accesses to the protected data at those points. Signed-off-by: Iago Abal <mail@iagoabal.eu> Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/arch/x86/util/unwind-libunwind.c')