This commit has beem taken form https://github.com/spegelius/android_kernel_samsung_jactivelte/commit/22da4eff03e0667662a702571e6b04dc47c2f2d5 by @spegelius