aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32-lp.c
diff options
context:
space:
mode:
authorJonas Karlman <[email protected]>2019-04-25 07:12:27 +0000
committerMauro Carvalho Chehab <[email protected]>2019-05-15 09:37:50 +0000
commit76f2db08e000aa226961925459970942fbaf6720 (patch)
treed3156ac38f7c8c1595875250ddf2ffee5e196f1f /drivers/pwm/pwm-stm32-lp.c
parentmedia: tegra-cec: fix cec_notifier_parse_hdmi_phandle return check (diff)
downloadkernel-76f2db08e000aa226961925459970942fbaf6720.tar.gz
kernel-76f2db08e000aa226961925459970942fbaf6720.zip
media: rockchip/vpu: Do not request id 0 for our video device
Pass -1 to video_register_device() to let the core assign the first free id instead of trying to get id 0. In practice it doesn't make a difference since video_register_device() is not strict about id requests and will anyway pick the first free id starting at the id passed in argument, and passing -1 has the same effect as passing 0. But let's comply with the API doc and pass -1 here. Signed-off-by: Jonas Karlman <[email protected]> Signed-off-by: Boris Brezillon <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions