Re: [PATCH 14/32] media: rcar-vin: move chip information to own struct

2016-11-07 Thread Geert Uytterhoeven
On Wed, Nov 2, 2016 at 2:23 PM, Niklas Söderlund wrote: > When Gen3 support is added to the driver more then chip id will be > different for the different Soc. To avoid a lot of if statements in the > code create a struct chip_info to contain this information. > > Signed-off-by: Niklas Söderlund

[PATCH 14/32] media: rcar-vin: move chip information to own struct

2016-11-02 Thread Niklas Söderlund
When Gen3 support is added to the driver more then chip id will be different for the different Soc. To avoid a lot of if statements in the code create a struct chip_info to contain this information. Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-core.c | 49