#include #include "screen.h" WINDOW *screen_init(bool israw) { WINDOW *screen = initscr(); if (israw) raw(); noecho(); cbreak(); nodelay(screen, TRUE); keypad(stdscr, TRUE); refresh(); wrefresh(screen); return screen; } void screen_end(void) { endwin(); } inux/net-next.git/atom/?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2016-05-04 11:24:14 +0900
committerUlf Hansson <ulf.hansson@linaro.org>2016-05-23 11:45:42 +0200
commit225faf871ec24f3fa6daa4d2324b5de56690e1c5 (patch)
tree7a240f60a1b1f351cb555eae7aa3b9345c8392ad
parentd57fe83e0744cdc88236226980c613435ad5c10c (diff)
mmc: dw_mmc: fix the wrong max_blk_size
According to DesignWare TRM, BLKSIZ is 16bits. Then it's correct that max_blk_size should be 0xFFFF, not 0x10000. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>