]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] soc-camera: increase the length of clk_name on soc_of_bind()
authorJosh Wu <josh.wu@atmel.com>
Tue, 4 Aug 2015 10:51:09 +0000 (07:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 25 Sep 2015 20:26:27 +0000 (17:26 -0300)
commit3dcb8043fb3e2a744841da9769230b3ebb56065a
tree986857ae0498cc2f1b57f98938419bef012faec4
parent5d0fd3c806b9e932010931ae67dbb482020e0882
[media] soc-camera: increase the length of clk_name on soc_of_bind()

Since in soc_of_bind() it may use the of node's full name as the clk_name,
and this full name may be longer than 32 characters, take at91 i2c sensor
as an example, length is 34 bytes:
   /ahb/apb/i2c@f8028000/camera@0x30

So this patch increase the clk_name[] array size to 64. It seems big
enough so far.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/soc_camera/soc_camera.c