I am using mmc2 interface on am335x processor for SD card.
During device boot up below warning messages are observed.
[ 1.408233] _regulator_get: omap_hsmmc.2 supply vmmc not found, using dummy regulator
[ 1.416503] _regulator_get: omap_hsmmc.2 supply vmmc_aux not found, using dummy regulator
[ 1.430633] omap_hsmmc omap_hsmmc.2: could not set regulator OCR (-22)
[ 1.442993] ------------[ cut here ]------------
[ 1.447845] WARNING: at drivers/regulator/core.c:1446 _regulator_disable+0x104/0x16c()
[ 1.456085] unbalanced disables for dummy
[ 1.460266] Modules linked in:
[ 1.463470] Backtrace:
[ 1.466033] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c0439fdc>] (dump_stack+0x18/0x1c)
[ 1.474853] r6:c06129dc r5:000005a6 r4:ce81dda0 r3:c06e9a08
[ 1.480773] [<c0439fc4>] (dump_stack+0x0/0x1c) from [<c003d584>] (warn_slowpath_common+0x5c/0x6c)
Please let me know what is the cause and how to resolve these warning.