techpack: camera: Haydn is special
Change-Id: I8f75769da498aebdcd79c44ba521a3ce5927a993
This commit is contained in:
parent
05758be1d2
commit
baaa42ca5f
3 changed files with 10 additions and 0 deletions
|
|
@ -92,6 +92,11 @@ LINUXINCLUDE += \
|
|||
-include $(srctree)/techpack/camera/config/sm6150cameraconf.h
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_PRODUCT), haydn)
|
||||
LINUXINCLUDE += \
|
||||
-include $(srctree)/techpack/camera/config/haydncameraconf.h
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
ifneq (,$(filter $(CONFIG_SPECTRA_CAMERA), y m))
|
||||
|
|
|
|||
1
techpack/camera/config/haydncameraconf.h
Normal file
1
techpack/camera/config/haydncameraconf.h
Normal file
|
|
@ -0,0 +1 @@
|
|||
#define TARGET_PRODUCT_HAYDN 1
|
||||
|
|
@ -43,7 +43,11 @@
|
|||
* It includes both session and device handles
|
||||
*/
|
||||
#define CAM_REQ_MGR_MAX_HANDLES 64
|
||||
#ifdef TARGET_PRODUCT_HAYDN
|
||||
#define CAM_REQ_MGR_MAX_HANDLES_V2 192
|
||||
#else
|
||||
#define CAM_REQ_MGR_MAX_HANDLES_V2 256
|
||||
#endif
|
||||
#define MAX_LINKS_PER_SESSION 2
|
||||
|
||||
/* V4L event type which user space will subscribe to */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue