aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>2019-04-29 12:16:52 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-05-28 15:29:53 -0400
commitccf7a31f1ed96ee211f660c488d49a85f586417c (patch)
treed8e5cbfe2cb53a51575c4bb244b191ff3cbf0b6d /ipc
parent39cb46751e2fbb72e0698f80e339db1fd4e1f50e (diff)
downloadlinux-ccf7a31f1ed96ee211f660c488d49a85f586417c.tar.gz
media: cx25840: don't open-code cx25840_reset() inside cx25840_load_fw()
cx25840_load_fw() does the same thing as cx25840_reset(), only keeps "is_initialized" flag so any further invocation of this function besides the first one is a NOP. Let's just call cx25840_reset() directly from cx25840_load_fw() instead of open coding it there. While we are at it, let's also improve comments about cx25840_load_fw() so they are current and in the proper style (one of them even referred to a non-existing cx25840 init operation). Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions