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)
commitfde469701c7efabebf885e785edf367bfb1a8f3f
tree6d586419c486906010528de11559f4296f9ab2d7
parent4995706d6f04a80976f06cf5aa1d855a03fb5621
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