#ifndef STR_H #define STR_H #include #include "built_in.h" extern size_t strlcpy(char *dest, const char *src, size_t size); extern int slprintf(char *dst, size_t size, const char *fmt, ...) __check_format_printf(3, 4); extern int slprintf_nocheck(char *dst, size_t size, const char *fmt, ...); extern char *strtrim_right(char *p, char c); extern noinline void *xmemset(void *s, int c, size_t n); extern char *argv2str(int startind, int argc, char **argv); extern char **argv_insert(char **argv, size_t *count, const char *str); extern void argv_free(char **argv); extern int str2mac(const char *str, uint8_t *mac, size_t len); #endif /* STR_H */ ss='logo' rowspan='2'>cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJan Leupold <leupold@rsi-elektrotechnik.de>2016-07-06 13:22:35 +0200
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-09-06 14:46:16 +0200
commitd31ed3f05763644840c654a384eaefa94c097ba2 (patch)
tree78895605df0e036e8b80845aa5669bd86fb3fdab /Documentation
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
drm: atmel-hlcdc: Fix vertical scaling
The code is applying the same scaling for the X and Y components, thus making the scaling feature only functional when both components have the same scaling factor. Do the s/_w/_h/ replacement where appropriate to fix vertical scaling. Signed-off-by: Jan Leupold <leupold@rsi-elektrotechnik.de> Fixes: 1a396789f65a2 ("drm: add Atmel HLCDC Display Controller support") Cc: <stable@vger.kernel.org> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'Documentation')