]> git.baikalelectronics.ru Git - kernel.git/commit
media: smiapp: Use the BIT macro where appropriate, remove useless definition
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 23 Sep 2019 13:05:37 +0000 (10:05 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 24 Oct 2019 21:50:53 +0000 (18:50 -0300)
commitdbcf6c17710a96694d114cc7fe2891b7bea657ed
treeafbb18ee15d1ace6e1ed4ed5332c80a3b10cce81
parent86aae6ffadf028039a225cc0b7192585d317be46
media: smiapp: Use the BIT macro where appropriate, remove useless definition

The BIT macro is a better way to define register bits, for 1 << bit is
risky for 32-bit registers.

Also remove the definition of SMIAPP_DATA_TRANSFER_IF_1_CTRL_RD_EN which
has a value of zero.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/smiapp/smiapp-core.c
drivers/media/i2c/smiapp/smiapp-reg.h