]> git.baikalelectronics.ru Git - kernel.git/commit
staging: media: atomisp: fill properly hmm_bo_type_strings when ION is disabled
authorJérémy Lefaure <jeremy.lefaure@lse.epita.fr>
Wed, 15 Mar 2017 18:09:20 +0000 (14:09 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Mar 2017 02:28:01 +0000 (11:28 +0900)
commit9624b5b86082124adf5f778de37cf978a3380be1
tree6d586419c486906010528de11559f4296f9ab2d7
parent85c156f0223630da6d525efc2d8c2850f86a414c
staging: media: atomisp: fill properly hmm_bo_type_strings when ION is disabled

When CONFIG_ION is disabled, HMM_BO_LAST is 3. In this case, "i" should
not be added in hmm_bo_type_strings.

Signed-off-by: Jérémy Lefaure <jeremy.lefaure@lse.epita.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm.c