summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2019-09-24 09:31:05 +0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-10-24 23:53:38 +0200
commit941e1d36b5b69aa6efcbc8e2bdd0ad349b95d641 (patch)
treee89a63edfb8f713264bc841b014f19020341e90d /include
parentmedia: smiapp: Don't poll for NVM ready on devices that don't need it (diff)
downloadlinux-941e1d36b5b69aa6efcbc8e2bdd0ad349b95d641.tar.xz
linux-941e1d36b5b69aa6efcbc8e2bdd0ad349b95d641.zip
media: smiapp: Support probing NVM size
The interface supports probing for the NVM size but this was not implemented in the driver. Do that now. This will also make nokia,nvm-size property redundant. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/media/i2c/smiapp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/media/i2c/smiapp.h b/include/media/i2c/smiapp.h
index d6ccc859bfcd..80f8251d87a3 100644
--- a/include/media/i2c/smiapp.h
+++ b/include/media/i2c/smiapp.h
@@ -49,7 +49,6 @@ struct smiapp_hwconfig {
unsigned short i2c_addr_dfl; /* Default i2c addr */
unsigned short i2c_addr_alt; /* Alternate i2c addr */
- uint32_t nvm_size; /* bytes */
uint32_t ext_clk; /* sensor external clk */
unsigned int lanes; /* Number of CSI-2 lanes */