]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/video/atmel_lcdfb.c
Merge branch 'next' into for-linus
[karo-tx-linux.git] / drivers / video / atmel_lcdfb.c
index 5afd64482f5584fd7c03f0d6267875da6eb3f16f..da05f0801bb754221188d15ddcd070e85b796830 100644 (file)
@@ -261,6 +261,9 @@ static inline void atmel_lcdfb_free_video_memory(struct atmel_lcdfb_info *sinfo)
 /**
  *     atmel_lcdfb_alloc_video_memory - Allocate framebuffer memory
  *     @sinfo: the frame buffer to allocate memory for
+ *     
+ *     This function is called only from the atmel_lcdfb_probe()
+ *     so no locking by fb_info->mm_lock around smem_len setting is needed.
  */
 static int atmel_lcdfb_alloc_video_memory(struct atmel_lcdfb_info *sinfo)
 {