Re: [PATCH v2 03/15] media: s5p-mfc: Replace mem_dev_* entries with an array

2017-03-17 Thread Sylwester Nawrocki
On 02/22/2017 05:22 PM, Shuah Khan wrote: On Mon, Feb 20, 2017 at 6:38 AM, Marek Szyprowski wrote: Internal MFC driver device structure contains two pointers to devices used for DMA memory allocation: mem_dev_l and mem_dev_r. Replace them with the mem_dev[] array and

Re: [PATCH v2 03/15] media: s5p-mfc: Replace mem_dev_* entries with an array

2017-02-22 Thread Shuah Khan
On Mon, Feb 20, 2017 at 6:38 AM, Marek Szyprowski wrote: > Internal MFC driver device structure contains two pointers to devices used > for DMA memory allocation: mem_dev_l and mem_dev_r. Replace them with the > mem_dev[] array and use defines for accessing particular

[PATCH v2 03/15] media: s5p-mfc: Replace mem_dev_* entries with an array

2017-02-20 Thread Marek Szyprowski
Internal MFC driver device structure contains two pointers to devices used for DMA memory allocation: mem_dev_l and mem_dev_r. Replace them with the mem_dev[] array and use defines for accessing particular banks. This will help to simplify code in the next patches. Signed-off-by: Marek Szyprowski